- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 57 guest(s) and 2 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Argument [ ]
Author
Message
airwish
Nuke Soldier
Joined: Jul 27, 2003
Posts: 10
Posted:
Tue Jul 29, 2003 6:53 pm
Hi
Looking for code to use as a if..then..else argument.
In plain english:
If $value is empty or does not exist
then include this/file.php
else echo "this instead with this $string on show"
I hope that explains what I'm after!
Cheers
Airwish
Zhen-Xjell
Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Tue Jul 29, 2003 7:00 pm
if (!$value) { include("file.php"); } else { echo "this ..."; }
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de ] [en ] [wiki ]
airwish
Nuke Soldier
Joined: Jul 27, 2003
Posts: 10
Posted:
Tue Jul 29, 2003 7:52 pm
Thanks, that's perfect!
Airwish
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum