[PHP-DB] Re: [PHP] mysql error

2011-05-05 Thread Daniel Brown
On Thu, May 5, 2011 at 10:29, Grega Leskovšek wrote: > Can smbd please look  at this sentence - I got an error and do not > know how to fix it - I am still very unfamiliar with MYSQL: > > CREATE TABLE log (  idlog int auto_increment not null,  imepriimek > varchar(50),  clock timestamp,  action va

[PHP-DB] Re: php/mysql error

2004-07-27 Thread David Robley
On Wed, 28 Jul 2004 02:36, Redhat wrote: > I am getting a weird error on one of my servers that says something > about "query requires full tablescan". I was not getting this error > until today that I noticed. I Googled for a minute and saw where a ton > of other sites had the same problem but

[PHP-DB] Re: php/mysql error

2001-11-21 Thread Fred
The error indicates that the result resource is invalid. The result resource in your example is $rs. Either this is not the variable that you used when sending the query or something went wrong with the query. You should always add "or die(mysql_error) to the end of your mysql_query statements,

SV: [PHP-DB] Re: php/mysql error

2001-11-20 Thread Trond Erling Hundal
I agree with mr. Torrent here... you are not logged on to your mysql server when you issue the query! Check your password/username... > -Opprinnelig melding- > Fra: torrentUK [mailto:[EMAIL PROTECTED]] > Sendt: 20. november 2001 18:35 > Til: [EMAIL PROTECTED] > Emne: [

[PHP-DB] Re: php/mysql error

2001-11-20 Thread torrentUK
I think you can get this error when you sql query fails. Try copy and pasting the $sql query to the mysql command line and see what response you get (it looks as though this would work though unless you haven't got a table called "test"). I guess it might be that you are not successfully logging o