Hello Andy, Wednesday, April 7, 2004, 1:18:06 AM, you wrote:
AB> um...im not doing selects im doing inserts with variable names... i AB> understand the idea with select but thats not the deal....its an insert... He was showing you a neatly formatted query, the example applies to inserts too: $sql = " INSERT INTO tablename ( field1, field2, field3 ) VALUES ( '$blah', $here', '$etc' ) "; There you have a visually instant way of telling where the missing ' is. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php