|
-
Jun 16th, 2012, 12:49 PM
#1
Thread Starter
Addicted Member
'and' or 'or' operative PHP
Hi,
I was see perform an action if the querystring 'sd' and 'ed' in the URL is not blank.
For checking one of them is blank I use
IF (empty($_GET['ed'])) {
However, i'm not sure how to proceed as i've tried AND and OR with errors.
Basically I want to perform some code only when a value is given for both 'sd' and 'ed' is given, otherwise if either are missing do nothing.
Any pointers please guys..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|