Results 1 to 2 of 2

Thread: [RESOLVED] list error. no not even that

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2007
    Posts
    45

    Resolved [RESOLVED] list error. no not even that

    Hi im new to php and this is my first test. I run it live but i get nothing but a clear screen, not even a error message.. Maybe you could help me out and see whats wrong.
    This is my table in sql
    Code:
    id titel bolag genre
    1 simpsons groening comedy
    2 family guy seth mcfarlane comedy
    3 evil dead raimi horror
    This is my code
    Code:
    <?
    mysql_connect("localhost", "xxxxxxxxxxxxxxxxx", "xxxxxxxxxxxxxxx");
    mysql_select_db("filmer") or echo(kjhkh);
    
    $result = mysql_query("SELECT * FROM filmer ORDER BY id");
    
    while($row = mysql_fetch_array($result))
      {
      echo $row['titel'];
      echo " " . $row['genre'];
      echo " " . $row['bolag'];
      echo "<br />";
      }
    ?>

  2. #2

    Thread Starter
    Member
    Join Date
    Jul 2007
    Posts
    45

    Re: list error. no not even that

    resolved

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