UPDATE tbl problem...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am having a small problem when it comes to updating some tables that I
have. tblmembers and tbloptions are both linked together with the exact
same userid #. here is the code i have been using...

			mysql_query("UPDATE tbloptions SET
strColorPref='$tmpColorPref' strTextPref='$tmpTextPref'
strLinkPref='$tmpLinkPref' strALinkPref='$tmpALinkPref' WHERE
strIDent='$_SESSION[strIDent]'");
			mysql_query("UPDATE tblmembers SET
strAction='Successfully updated user settings on $logdate.' WHERE
strIDent='$_SESSION[strIDent]'");

Now, heres where i am confused, the second update statement for
tblmembers, works fine, no problems. The variables listed in both
statements work, i have tested them.

The second statement however does not seem to insert the data into the
table at all. no errors are returned, all seems good, but the data isn't
there. i have privileges set for both tables properly. i can't figure it
out, if anyone can help, please reply. :)



Hartleigh Burton
www.channel-x.org



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux