validate form php 4 inputs, one must be filled
===

i have a form which i have to filled  one field must i am trying but not sucessfull

please point me down where i am doing wrong

    if($text1=='' && $text2=='' && ($text3!='' || $text4!='' || $text5!='' || $text6!='')){
    					
    					$abc->redirect('../xxxx.php');	
    					exit;
    							
    					}


    <tr>
    <td>title: $</td>
    <td><input type="text" id="dailyprice" name="text1" style="height: 25px; border: 1px solid #888; width: 80px;"></td>
    <td>Desc: $</td>
    <td><input type="text" id="weeklyprice" name="text2" style="height: 25px; border: 1px solid #888; width: 80px;"></td>
    </tr>
    
    <tr>
    <td>Daily Price: $</td>
    <td><input type="text" id="dailyprice" name="text3" style="height: 25px; border: 1px solid #888; width: 80px;"></td>
    <td>Weekly Price: $</td>
    <td><input type="text" id="weeklyprice" name="text4" style="height: 25px; border: 1px solid #888; width: 80px;"></td>
    </tr>
    <tr>
    <td>Weekend Price: $</td>
    <td><input type="text" id="weekendprice" name="text5" style="height: 25px; border: 1px solid #888; width: 80px;"></td>
    <td>Monthly Price: $</td>
    <td><input type="text" id="monthlyprice" name="text6" style="height: 25px; border: 1px solid #888; width: 80px;"></td>
    </tr>


thanks

