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" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
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



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



Reply via email to