Jump to content

RubenDebusscher

New Members
  • Posts

    2
  • Joined

  • Last visited

RubenDebusscher's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The reason I still use mysql_functions, is, because, that is how I learned it, last year. And when I tried to use mysqli for the last time, I had more errors than I have now, although, I am trying to use the statement you proposed.
  2. I am building a website about Doctor who, and I want to post various quotes from a database, when I wrote the select-query, I got the following error: Quotes Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /customers/e/a/c/doctorwhofans.be/httpd.www/test/Content/Quotes.php on line 106 (which is the one with the while expression). <?php //verbinding met de database require("./connect.php"); //select-query schrijven en uitvoeren $sql = " select * from QuotesTabel"; $result = mysql_query($sql); //alle records weergeven (terwijl er rijen gevonden worden. while ($row = mysql_fetch_assoc($result)) { //toon foto met info require("./ToonFoto.php"); } ?> Can someone help me please?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.