Re: [PHP] Stuffing those damn values into their fields...!

2004-07-19 Thread Jason Davidson
php will evaluate vars in single quotes provided they are double quoted outside them. The quoting in the query appears valid, i would suggest debugging the sql firstly. (which i beleive was mentioned already) Jason On Mon, 19 Jul 2004 12:20:33 -0400, Brent Baisley <[EMAIL PROTECTED]> wrote: > I

Re: [PHP] Stuffing those damn values into their fields...!

2004-07-19 Thread Brent Baisley
I would try echoing out the $UserDataDump variable to see what your query text is. PHP does not parse what's in single quotes, so your variables may not be getting substituted with values. Try something like this: $UserDataDump = 'UPDATE MembersData SET Title="'.$Title.'") WHERE UserID="'.$_POS

Re: [PHP] Stuffing those damn values into their fields...!

2004-07-19 Thread Justin Patrin
On Mon, 19 Jul 2004 13:22:45 +0100, Harlequin <[EMAIL PROTECTED]> wrote: > OK. So here we have on the submission form: > > > Your problem is likely here. What exactly are you doing with this string? echo? print? ?> '; > It echoes fine, so I know it's there. > > When I go to the target page it

[PHP] Stuffing those damn values into their fields...!

2004-07-19 Thread Harlequin
OK. So here we have on the submission form: It echoes fine, so I know it's there. When I go to the target page it echoes fine there also and doesn't return an error. But more strangely, it doesn't perform the update I request: $UserDataDump = "UPDATE MembersData SET Title='$Title'...) WHERE Us