Re: php & mysql prob...
| From: | sc | Date: | Wed, 31 Oct 2001 02:15:36 +0000 |
| Subject: | Re: php & mysql prob... | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72956@lists.php.net to get a copy of this message | ||
mysql_error returns nothing, mysql_errno returns 0
"Jim Lucas" <or001@bend.com> wrote in message
news:03ad01c161b0$026caee0$96def5cc@com.bendcom...
> mysql_error() and mysql_errno() return the value.
>
> $error = mysql_error($dblink);
> $errno = mysql_errno($dblink);
> or
> echo mysql_error($dblink);
> echo mysql_errno($dblink);
>
> jim
> ----- Original Message -----
> From: "sc" <sven@gstar.com.au>
> To: <php-general@lists.php.net>
> Sent: Tuesday, October 30, 2001 6:01 PM
> Subject: Re: [PHP] php & mysql prob...
>
>
> > ok i thought it would be working, but on testing it more it still isn't
> > going for me.... i took off the ' ' from the table name and its still
> coming
> > up with an error on line 17 with the same error message... the
> mysql_error()
> > isn't echoing anything that has gone wrong.. (did before)..
> >
> > Any ideas?
> >
> > thx.
> >
> > -sc
> > "Jason Brooke" <jason@qgl.org> wrote in message
> > news:043f01c161a9$bf8d99a0$0100a8c0@co3040297a...
> > > Or the single quotes around the table name in the sql string
> > >
> > >
> > > > Your query is probably broken - do some error checking after your
> > > > database call with mysql_error() and see what the problem is.
> > > >
> > > > Guess; the table name.
> > >
> > >
> > >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>