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
(\"friend\", \"".$mails[$i]."\")";
> $result = mysql_query($query);
> if ($result)
> echo mysql_affected_rows()." affected.";
> }
> ?>
>
> Edward Dudlik
> Becoming Digital
> www.becomingdigital.com
>
>
&
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
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