Project / Support Center
Welcome, Guest. Please login or register. November 13, 2019, 08:30: AM
Home Help Search Login Register
D-Web Web Site Creator D - Web Web Site Creator On-line HTML Editor No Programming knowledge required. Web Global Net PayPal-Cart Shopping Cart System PayPal - Kart Shopping Cart System for E-Commerce over the internet, that's easy to use. Web Global Net Newsletter Manager Newsletter Manager On-line Newsletter Creator with Email Subscriber Management.
Ring Central Discount
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  php related  |  Topic: Show if based on multiple variables 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Send this topic Print
Author Topic: Show if based on multiple variables  (Read 80 times)
admin
Administrator
******
Offline Offline

Posts: 166


« 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 these two variables are met  

<?php }
// end show if Conditional
?>   

ad_paid = 1
and
ad_renewal = 1

I assume you can put as many variable as you wish each separated by ||
« Last Edit: October 28, 2019, 09:48: PM by admin » Report to moderator   Logged

The Unknown Webmaster
Pages: [1] Go Up Send this topic Print 
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  php related  |  Topic: Show if based on multiple variables « previous next »
Jump to:  


Login with username, password and session length
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!