Re: updating pages with php
| From: | Tyler Durdin | Date: | Wed, 05 Mar 2003 19:05:37 +0000 |
| Subject: | Re: updating pages with php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-138341@lists.php.net to get a copy of this message | ||
They are all text fields. Intro title is just a line of text that says "Welcome to this website..." Intro, is the text of the introduction.
You are correct and it is apostophe's and not comma's that cause the error. What do I do to get around that?
From: "Liam Gibbs" <liamgibbs@sympatico.ca> To: "php list" <php-general@lists.php.net> Subject: Re: [PHP] updating pages with php Date: Wed, 5 Mar 2003 13:44:40 -0500 $Query = "UPDATE $TableName SET Intro_Title = '$Intro_Title', Intro = '$Intro' WHERE ID = '$ID'"; But what's being sent to SQL? What's contained in $TableName, $Intro_Title, etc.? And what data types are all those fields? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php_________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail