i designed a php script as below went it and ouput is Record Put into Table

<?PHP

$user_name = "root";
$password = "";
$database = "test_db";
$server = "127.0.0.1";
$db_handle = mysql_connect($server, $user_name, $password);
$db_found = mysql_select_db($database, $db_handle);

if ($db_found) {

$SQL = "INSERT INTO name (FirstName) VALUES ('bill')";
$result = mysql_query($SQL);

mysql_close($db_handle);

print "Records added to the database";
}
else {
print "Database NOT Found ";
mysql_close($db_handle);
}

?>

how to begin to see the content on the table used to do

<?PHP

$user_name = "root";
$password = "";
$database = "test_db";
$server = "127.0.0.1";
$db_handle = mysql_connect($server, $user_name, $password);
$db_found = mysql_select_db($database, $db_handle);

if ($db_found) {

$SQL = "Select * from name";
$result = mysql_query($SQL);

print "$result";
mysql_close($db_handle);

print "Records added to the database";
}
else {
print "Database NOT Found ";
mysql_close($db_handle);
}

?>

However the output is Resource id #3Records put into the database, while i wish to begin to see the contents on the table

The return worth of mysql_query cannot be delivered to the output as if you try.

mysql_query returns a resultset, for use with http://www.php.net/mysql_fetch_row for instance.

Example:

while($row=mysql_fetch_array($result)) {
    print_r($row);
}

$result consists of the return value from mysql_query the industry resource ( http://php.net/manual/en/function.mysql-query.php)

use mysql_fetch_assoc($result) or mysql_fetch_array($result) or ... to achieve the actual data.

while ($row = mysql_fetch_array($result, MYSQL_NUM)) {
    printf("Result: %s", $row[0]);  
}

mysql_query() will return a resultset object that you've to see inside a loop to obtain its rows:

while($row = mysql_fetch_array()) {
   echo htmlspecialchars($row['column1']);
}

If you wish to choose in the database do this:

<?PHP

$user_name = "root";
$password = "";
$database = "test_db";
$server = "127.0.0.1";
$db_handle = mysql_connect($server, $user_name, $password);
$db_found = mysql_select_db($database, $db_handle);

if ($db_found) {

$SQL = "Select * from name";
$result = mysql_query($SQL);

 while ($row = mysql_fetch_array($result))
 {
  print $row[0]." Record is selected";
 }
mysql_close($db_handle);


}
else {
print "Database NOT Found ";
mysql_close($db_handle);
}

?>