[PHP/MSSQL] Query

gooby pls
Decennium
Joined
Mar 22, 2008
Messages
830
Reaction score
178
Well, I have this query that is executed, but I need to know how could I do to change values depending on some other value.

Example: Character is warped to map 101. Coordinates inside town for map 101 are 1500 720.

How can I change the coordinates value depending on the map?
I have about 30 different maps with all different coordinates.

Any help would be appreciated!


PD: My query
Code:
"UPDATE TBL_XWWL_Char SET FLD_MENOW = '$map' [U]xxx[/U] variable to change coords depending on map [U]xxx[/U] WHERE FLD_ID = '$account' FLD_NAME = '$psec';
I need the information that goes inside the XXX


Regards,
Alan
 
Last edited:
Back