Jump to content

Recommended Posts

please friends i have been trying to fetch data from my database but my output is showing a blank page this are my codes

 

?php
$host_name = "localhost";
$user_name = "root";
$password = "";
$db_name = "addressbook";
mysql_connect("$host_name", "$user_name", "$password");
mysql_select_db("$db_name");
$result = mysql_query("SELECT * FROM bestway");
?>

 

 

its just showing a blank page i cant tell why

Link to comment
https://forums.phpfreaks.com/topic/271397-sql-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.