Re: Is this possible?
| From: | Chris Hayes | Date: | Wed, 11 Jun 2003 15:12:24 +0000 |
| Subject: | Re: Is this possible? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151085@lists.php.net to get a copy of this message | ||
At 18:06 11-6-03, you wrote:
Hey, Whats the problem with this "<a href="index.php?tablename=table">table</a>" ? its a perfectly legal bit of HTML...wheres your doubt? in index.php just get the variable like this $blah=$_GET['tablename']; then run $blah in your select query..... Either this is just too simple or i dont really understand what you are trying to do...$query = "SELECT * FROM $table"; well because when he has his globals turned off the $table var will not have a value.