PHP and mysql_connect


Subject: PHP and mysql_connect
From: Mehran (cf680@yahoo.com)
Date: Fri Jan 24 2003 - 04:21:02 AKST


Hi;
When I am trying to connect to mysql with php with
this simple script;
<? php
$conn = mysql_connect ("localhost" , "username" ,
"password");
echo "$conn";
?>
 I'll get this error message
parse error, unexpected T_VARIABLE in
public_html/link.php line 2.

There is no problem with apache and php.
any help is appreciated

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Fri Jan 24 2003 - 04:21:06 AKST