Results 1 to 12 of 12

Thread: Table doesn't exist (millionsign signature generator)

Threaded View

  1. #12
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Table doesn't exist (millionsign signature generator)

    big edit: make some test code if you're certain the table exists.
    PHP Code:
    <?php
      mysql_connect
    ('host''username''password') or die('could not connect: ' mysql_error());
      
    mysql_select_db('database') or die('could not select: ' mysql_error());

      
    $sql "SELECT * FROM table WHERE 1";
      
    $q mysql_query($sql) or die('could not query: ' mysql_error());
      
    $r mysql_fetch_array($q) or die('could not fetch: ' mysql_error());
    ?>
    if you've made it this far, everything's working fine.
    make sure you fill in all of the blanks to whatever your configuration files point to.
    Last edited by kows; May 31st, 2007 at 10:49 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width