[PHP-DB] Problem with INSERT Query

2003-12-30 Thread irinchiang
Hi all: Well, when i bring out the page with the drop down list it was able to display all tutors' names from "tutor_name" column. Anyway here's a review of my code (snip) again before i continue: --- $sql = "INSERT I

Re: [PHP-DB] problem with insert query

2003-06-07 Thread Jeff Shapiro
(\"friend\", \"".$mails[$i]."\")"; > $result = mysql_query($query); > if ($result) > echo mysql_affected_rows()." affected."; > } > ?> > > Edward Dudlik > Becoming Digital > www.becomingdigital.com > > &

Re: [PHP-DB] problem with insert query

2003-06-07 Thread Becoming Digital
CTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, 07 June, 2003 08:15 Subject: [PHP-DB] problem with insert query hi i am wrote a script to read e-malis from a file and insert it into the tables of database i get error when i write it here is the code can anyone tell me what is wrong? h

[PHP-DB] problem with insert query

2003-06-07 Thread Ahmed Abdelaliem
hi i am wrote a script to read e-malis from a file and insert it into the tables of database i get error when i write it here is the code can anyone tell me what is wrong? for ($i=0; $i<$number_of_mails; $i++){ @ $db = mysql_connect("localhost"); mysql_select_db("me2resh00"); $query = "inse