Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Arrgghhh PHP help required!

Supplied argument is not a valid MySQL result resource

10:58 am on Mar 7, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 8, 2001
votes: 0

I keep getting

Supplied argument is not a valid MySQL result resource

in my PHP pages..the thing is I am following a tutorial line by line. ¦ did a search and found other web pages with this very same thing check out. > [dearones.com...]

Now surely all these people would realise they have a problem? Is it because there is something missing from the PHP installation?

Its really starting to do my head in.


11:22 am on Mar 7, 2002 (gmt 0)

Inactive Member
Account Expired


Hi :)

You have a fault in your SQL-query.
Post the query and table structure and we will see if we can help you.



7:29 pm on Mar 7, 2002 (gmt 0)

Inactive Member
Account Expired


Im sorry for my not knowing...but where can see my Sql-query or my table structure?? thats all new to me.
7:43 pm on Mar 7, 2002 (gmt 0)

Preferred Member

10+ Year Member

joined:May 3, 2001
votes: 0

thats all in your code.

An SQL query looks like so

SELECT * FROM table_name WHERE table_id = 68;

And table structure means what was used to make the table you are calling in your query. For example:

name VARCHAR(20),
owner VARCHAR(20),
species VARCHAR(20),
sex CHAR(1),
birth DATE,
death DATE

That was taken from the mysql website manual [mysql.com]

Hope this helps some.

[added]I could be misinterpreting what GrodanBoll meant by saying table structure. [/added]

7:55 pm on Mar 7, 2002 (gmt 0)


WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 24, 2001
votes: 0


post the actual query that is giving you the problem


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members