mySQL error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    mySQL error

    Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\mysql\manualcrawl.php on line 16

    i know the cause of the error i just dont know how to fix it
    im making a site crawler using file_get_contents(); then it scans for the urls and adds them to the database then i try to call the items that were stored and run the urls through file_get_contents(); using while but its not working :<

    #2
    more than like an incorrect field name on your sql or a bad field name

    Comment


      #3
      ur line 16?

      Comment


        #4
        check the query, u executed in mysql_query , n paste it here ,only then u can be helped out

        Comment


          #5
          its fine i fixed it a while ago i pasted the query into phpmyadmin then looked at what the sql error was
          thanks anyway though

          Comment

          Working...
          X