Wednesday, February 23, 2005

Php without global vars using GET

I post here about work in php without global vars, now I offer you another post but using GET as a METHOD, not POST. Here's the code:

<?
if ($_GET['table']) {
$table = $_GET['table'];
echo "You wanna select this: $table";
}else {
echo "You didn't say a word";
}
?>