php3-list | 199908
Date: 08/12/99
- Next message: Jon Griffin: "[PHP3] SQL syntax error"
- Previous message: Derek Bruce: "Re: [PHP3] 0 is not a result"
- In reply to: Derek Bruce: "[PHP3] 0 is not a result"
- Next in thread: Derek Bruce: "Re: [PHP3] 0 is not a result"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Hello,
>
> I am getting an error message once in a while:
>
> Warning: 0 is not a mSQL link index in
> /usr/local/etc/httpd/htdocs/search/do_query.htm on line 94
>
> Here is line 94:
>
> 93 $link = msql_connect () ;
> 94 $res = msql ( "sdb", "select ".$qstring, $link ) ;
> 95 if (($res)>=(1)) {
>
You surely need to specify what machine, username and password to connect
with in msql_connect()? Check the PHP3 manual for the syntax of this
command, I work with mysql but I'm sure the concept is the same.
Henry
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jon Griffin: "[PHP3] SQL syntax error"
- Previous message: Derek Bruce: "Re: [PHP3] 0 is not a result"
- In reply to: Derek Bruce: "[PHP3] 0 is not a result"
- Next in thread: Derek Bruce: "Re: [PHP3] 0 is not a result"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

