Jump to content

simple


grlayouts

Recommended Posts

whole query is pretty much f*cked up, the amount of single quotes is hurting my eyes

 

I think you are looking something like this (I persume $drugfact is variable, what else could it possibly be)

 

"UPDATE players SET drugs = drugs + $drugfact*300, dpayout = $drugfact*300"

 

You don't need single quotes unless you are working with varchars and alike

 

Link to comment
https://forums.phpfreaks.com/topic/41040-simple/#findComment-198753
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.