Inserting with whitespace (D'OH!)

From: Date: Mon, 17 Jul 2000 22:19:07 +0000
Subject: Inserting with whitespace (D'OH!)
Groups: php.general 
Request: Send a blank email to php-general+get-6982@lists.php.net to get a copy of this message
Oops, I forgot to add "VALUES" in the message. Here is the actual code... $query = "INSERT INTO table_name VALUES('$message_variable')"; mysql_db_query("database", $query); Is there some formatting restriction or a setting that would cause this to just store the first string of non-whitespace text out of $message_variable? Dan

« previous php.general (#6982) next »