Welcome Guest, Not a member yet? Register   Sign In
comparison condition is not true
#3

[eluser]tomcode[/eluser]
Would be surprised that Your solutions work, so here's my take :

Code:
<?php

     if( $status == 'Active' || $status == 'Inactive' ) :

?>
     <td><a href='projects/change_status/{status}/{id}'>{status}</a></td>
&lt;?php

     else :

?&gt;
    <td>{status}</td>

&lt;?php

     endif;

?&gt;


Messages In This Thread
comparison condition is not true - by El Forum - 05-24-2009, 08:45 AM
comparison condition is not true - by El Forum - 05-24-2009, 08:49 AM
comparison condition is not true - by El Forum - 05-24-2009, 11:12 AM
comparison condition is not true - by El Forum - 05-24-2009, 11:46 AM
comparison condition is not true - by El Forum - 05-24-2009, 11:55 AM
comparison condition is not true - by El Forum - 05-24-2009, 12:13 PM
comparison condition is not true - by El Forum - 05-25-2009, 07:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB