Re: [PHP_DB] Error
| From: | Niklas Brunlid | Date: | Thu, 20 Jul 2000 09:34:23 +0000 |
| Subject: | Re: [PHP_DB] Error | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1321@lists.php.net to get a copy of this message | ||
Rene Ballesteros Machado Junior wrote:
>
> Hi ,
>
> Ill had a problem with db connection
>
> mssql_connect(ip, "user", "pass");
>
> Ill receive a error message:
>
> Parse error in line
>
> Obs. Ill use a Suse 6.4 with PHP4 and try to connect in a MS SQL 7.
Just a shot in the dark here, but is "ip" a variable or just a generic
IP string that you left out on purpose? If it's the former it needs a
"$" in front of it ("$ip").
/Niklas