I've written the following code:
<?php
$db_host="localhost";
$db_user="root";
$db_pass="";
$db_name="formend";
$db_table="jadval";
$con = mysql_connect($db_host,$db_user,$db_pass) or die("خطا در اتصال به پايگاه داده");
$selected=mysql_select_db($db_name, $con) or die("خطا در انتخاب پايگاه داده");
$dbresult=mysql_query("SELECT * FROM `jadval`");
while ($amch = mysql_fetch_assoc($dbresult)) {
echo $amch["id"];
echo $amch["name"];
}
?>
But this does not work Only one page was empty plz help me ...