joined:Oct 1, 2009
Is it possible to have an sql statement like this?
With the if condition statement in between
$sqlQuery = "UPDATE `members` SET
if ($basic = english)
`basic` = '".$basic."',
`basic` = '""',
`school` = '".$school."'
WHERE `member_id` =
$result = mysql_query($sqlQuery) or die(mysql_error());