Onbekend |
|
Leeg maken?
<?
$types = array("index", "tattoo", "piercing", "links");
if(In_Array($_GET['type'],$types))
{
mysql_query("UPDATE A1A SET ".$types."='' WHERE id='".$_GET['id']."'");
}
<? $types = array("index", "tattoo", "piercing", "links"); { mysql_query("UPDATE A1A SET ".$types."='' WHERE id='".$_GET['id']."'"); }
Probeer zoiets. |