> ...
add new data to the DB On the links have: <a href="edit.php?tablename=$tablename">View database</a><br>
U are outputting those links incorrectly, because resulting HTML contains "$tablename". Try output those links this way...
<a href="edit.php?tablename=<? echo $_GET['tablename'] ?>">View database</a><br>
...or this way
<?
echo '<a href="edit.php?tablename='.$_GET['tablename'].'">View database</a><br>';
?>
-- Pavel a.k.a. Papi
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php