View Single Post
Old 04-09-2007, 12:14 PM   #2 (permalink)
pungi
Recruit
 
Join Date: Feb 2006
Posts: 17
pungi is on a distinguished road
Hi,
I was convinced that the query was ok as im sure i tested it but i was wrong. I still havent found the problem but it definately is concerned with
"VALUES ('$task')" part of the query as the following query inserted 'jack' into the table:

$array= array(jack);
$query = "INSERT INTO $sched (task) VALUES ('$array[0]')";
Thanks, and sorry for posting this into the php forum when it was an sql error,
pungi
pungi is offline   Reply With Quote