[thelist] php add email to a mysql db

Ben Phillips ben at inchima.com
Tue Aug 13 11:44:10 CDT 2002


> $$sql = "SELECT email FROM mailinglux WHERE
>           email='$email'";
>          $result=mysql_query($sql);
>          $num=mysql_numrows($result);

try $sql = "SELECT ...
instead of $$sql = "SELECT ...

and it's mysql_num_rows not mysql_numrows.

benji.





More information about the thelist mailing list