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..