Hi all,
I have installed mysql, apache2 and php5. they work fine. But when I try to read a table with php it shows me the blank page. Have i left any thing? I need to know. Here's the code I've used.
Please reply me asap.PHP Code:
<?
$c = mysql_connect("localhost","vinay","vinay");
mysql_select_db("myweb",$c);
$res = mysql_query("select * from member_info",$c);
$data = mysql_fetch_array($res);
print "<pre>";
print_r ($data);
print "</pre>";
?>
Thank you.
Bookmarks