I just started learning PHP 3 days ago.
so this maybe an easy question to awsner..
I am writing a script to edit a database.
$w_sqlstr = "UPDATE members SET " . "timezone = " . "'" . $a_members_timezone . "'" . ", " . "position = " . "'" . $a_members_position . "'" . ", " . "ICQ = " . $a_members_ICQ . ", " . "email = " . "'" . $a_members_email . "'" . ", " . "name = " . "'" . $a_members_name . "'" . ", " . "zcords = " . $a_members_zcords . ", " . "ycords = " . $a_members_ycords . ", " . "xcords = " . $a_members_xcords .", " . "WHERE (members.xcords=$xc AND members.ycords=$yc AND members.zcords=$zc)";
// Whenever I run it gets errors from the
// WHERE part ont he SQL statment that I load
// to a varible here.
wed_db_process("server", "user", "pass", $w_sqlstr);
Thanks for any help.
Paul