SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Mar 2004
    Location
    louisiana, USA
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    error message, please help

    I really have no idea what I'm doing (which is the main problem)

    Anyway, I am trying to create a page that will insert records into my Database.

    I keep getting this error.

    Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/graph/public_html/nela/insert.php on line 45

    Here is line 45:

    $Result1 = mysql_query($insertSQL, $graph_nelabuild) or die(mysql_error());

    Any suggestions?

    I really don't know what I'm doing.

    Thanks in advance

  2. #2
    SitePoint Addict
    Join Date
    May 2003
    Location
    Auckland
    Posts
    309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Haven't used php/mysql in a while but doesn't supplied argument is not a valid MySQL-Link resource mean it hasn't actually connected to the database properly?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •