Re: HELP!!!
| From: | Greg Beaver | Date: | Sat, 25 Aug 2001 06:10:31 +0000 |
| Subject: | Re: HELP!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64405@lists.php.net to get a copy of this message | ||
Make sure that there is a table named "users" with the same fields as in
your local database.
use mysql_error() to retrieve the error message for debugging purposes if
you're going to use @
Greg
--
The Chiara String Quartet
http://www.chiaraquartet.net
"Brack" <brak@nettaxi.com> wrote in message
news:3B86D43E.30904.77959E@localhost...
> I have a script with combination:
> $ins_u = @mysql_query("INSERT INTO users (name,email)
> VALUES ('$u_name','$u_email')");
> $userid = @mysql_insert_id($ins_u);
>
> It's working fine on local server but now I put it on the web and it
> sais:
> Warning: Supplied argument is not a valid MySQL-Link resource in
> /home/sites/site21/web/incr/submition.inc on line 30
> (which is line above)
> Youri
>