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" <[EMAIL PROTECTED]> wrote in message
3B86D43E.30904.77959E@localhost">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
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]