RE: [PHP] Fw: Help

From: Date: Sat, 21 Jun 2003 07:21:47 +0000
Subject: RE: [PHP] Fw: Help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152370@lists.php.net to get a copy of this message
You possibly have a select list box named 'title[]' remove the brackets [] and rename the list box 'title'. That should work. -Naintara -----Original Message----- From: php-general-return-152369-naintara=del6.vsnl.net.in@lists.php.net [mailto:php-general-return-152369-naintara=del6.vsnl.net.in@lists.php.net]On Behalf Of Tirnovanu Aurel Sent: Saturday, June 21, 2003 12:28 PM To: php-general@lists.php.net Subject: [PHP] Fw: Help Can anyone tell why this script: $query = "INSERT INTO mos_articles (catid, title, content, date, author, approved, published) VALUES ('5','$title','$content','$data','$author','1','1')"; $result = mysql_query($query); add in title field "array" and not the input. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#152370) next »