Posted by Jeff Vaccaro on 01/02/07 13:47
How come this doesn't work?
What am I doing wrong?
$type = $_GET['functionType'];
if ($type == 'Add'){
$AddSQL = "INSERT INTO...";
echo $AddSQL;
}elseif ($type == 'Update'){
$UpdateSQL = "Update ...";
echo $UpdateSQL;
}elseif ($type == 'Delete'){
$DelSQL = "DELETE FROM ...";
echo $DelSQL;
}
Thanks
Navigation:
[Reply to this message]
|