Technical Issues => php related => Topic started by: admin on October 28, 2019, 09:32: PM
-
<?php
// Show IF Conditional
if ($row_rslisting_show['ad_paid'] == 1 || $row_rsadlisting['ad_renewal'] == 1) {
?>
this will show something here if either of these two variables are met
<?php }
// end show if Conditional
?>
<?php
// Show IF Conditional region either url variable
if (@$_GET['order'] == "yes" || $_GET['preview'] == "yes") {
?>
<table width="1%" border="0">
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Model</td>
<td> </td>
</tr>
<tr>
<td>Size</td>
<td> </td>
</tr>
<tr>
<td>Total</td>
<td> </td>
</tr>
</table>
<?php }
// endif Conditional either url variable
?>
ad_paid = 1
and
ad_renewal = 1
I assume you can put as many variable as you wish each separated by ||