[snip] function test($s) { if($s = 'this') return false; if($s = 'that') return false; return true; } [/snip]
try this: function test($s) { if($s == 'this') return false; if($s == 'that') return false; return true; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php