macromedia.dreamweaver.appdev
[Top] [All Lists]

Re: Keeping Search Entries in Search Form

Subject: Re: Keeping Search Entries in Search Form
From: "oicram"
Date: Sun, 9 Sep 2007 17:13:48 +0000 UTC
Newsgroups: macromedia.dreamweaver.appdev

I get this error:
 Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ',' or ')' in 
/home/cantinho/www/www/admin/cantinho/encontrar_animal_V3.php on line 94 


 I have put this code:

 <select name="tipo" id="tipo">
     <option value="cao" <?php if(isset($_POST['tipo'] && $_POST['tipo'] == 
"cao") echo 'selected="selected"'; ?>>Cão</option>
     <option value="gato" <?php if(isset($_POST['tipo'] && $_POST['tipo'] == 
"gato") echo 'selected="selected"'; ?>>Gato</option>
     <option value="outro" <?php if(isset($_POST['tipo'] && $_POST['tipo'] == 
"outro") echo 'selected="selected"'; ?>>Outro</option>
   </select>

 Any idea?

 Thanks again


<Prev in Thread] Current Thread [Next in Thread>