PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
[QUOTE=delk1ch;1480607]Hello,
I'm trying to output my database on my website but it's not working, it shows up just a blank page ( IMAGE ), here's the code :
<?php
$conn = mysql_connect(‘localhost’, ‘root’, ‘ELsk0l@r00t’)
or die (mysql_error());
mysql_select_db(‘elskoglasi’)
or die (‘Database selection incorrect’);
?>
Is error reporting turned on? That's step one. It looks like you have smart quotes in there instead of normal single/double quotes, so I suspect your require_once statement fails, throws a fatal error, and displays nothing because error reporting is off.