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
This is my codeCode:id titel bolag genre 1 simpsons groening comedy 2 family guy seth mcfarlane comedy 3 evil dead raimi horrorCode:<? 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 />"; } ?>




Reply With Quote