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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Behalf Of Tirnovanu Aurel
Sent: Saturday, June 21, 2003 12:28 PM
To: [EMAIL PROTECTED]
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


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

Reply via email to