switch($_POST[column])
{
case("foo"):$query = mysql_query("WHATVER");break;
case("too"):$query = mysql_query("BLAH");break;
default:$query = mysql_query("DOH");break;
}
while($row = mysql_fetch_array($query))
{
// DO SOMETHING
}
-- Adam Voigt (adam@cryptocomm.com) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc |
Attachment:
signature.asc
Description: This is a digitally signed message part