I've been working with PHP and MySql. In fact, i'm learning these two tools using Kevin Yank's tutorial. When I try to run example on page 34(connecting to database and printing entries out in the internet browser) , I get this error out:
Warning: Supplied argument is not a valid MySQL result resource in C:\Inetpub\wwwroot\Celisvet\baza1.php on line 43
I suppose there is something wrong with sending variable($result) to the function.
However, I don't know what is wrong. I suppose it should work, if it is in the tutorial. Is there something wrong with the connection to the database? I'm using PWS with win98.
There's another issue i hava to ask about. I've never noticed PHP files with .php4 extension. It seems, everyone uses .php3. What's the reason for this(we know that php4 is released)?
i hope someone can answer my questions
thank you
Marko
Bookmarks