PearlJam
Expert Member
Hi, i am just starting to do the above and have managed so far to connect to the db and do a show tables command. How do i change the returned values into links to enable me to create edit / add / create pages for the db?
Here is my code if it helps:
Here is my code if it helps:
PHP:
<?php $result = mysql_query( "SHOW TABLES" )
or die("SELECT Error: ".mysql_error());
$num_rows = mysql_num_rows($result);
print "<h3>Tables</h3><P>";
print "<table width=200 >\n";
while ($get_info = mysql_fetch_row($result)){
print "<tr>\n";
foreach ($get_info as $field)
print "\t<td><font face=verdana size=3/>$field</font></td>\n";
print "</tr>\n";
}
print "</table>\n";
?>