question on boolean AND
Posted: Sat Jul 19, 2008 11:37 pm
I have a code
But php says
Parse error: parse error, unexpected T_BOOLEAN_AND in c:\www\dbtest2.php on line 2
Why isn't the boolean AND (&&) not working here?
Code: Select all
<?php
if(isset($_POST['name']))&&(isset($_POST['title']))&&(isset($_POST['text'])){
//blah blah blah...
}Parse error: parse error, unexpected T_BOOLEAN_AND in c:\www\dbtest2.php on line 2
Why isn't the boolean AND (&&) not working here?