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 @

The Chiara String Quartet

"Brack" <[EMAIL PROTECTED]> wrote in message
> 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/ on line 30
>  (which is line above)
> Youri

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to