How to print details from MySQL with PHP :
Note : Replace red marked details:
<?php mysql_connect("hostname", "username", "password") && mysql_select_db("dbname") or die; $details = mysql_query("select * from users"); while ($detail = mysql_fetch_assoc($details)) { $name = $detail['name']; echo "$name"; } ?>
Reblogged this on RJ Solusoft.