Hello every one !!!!
I was doing the following code
if defined param('end_date'){$user_input->{end_date} = param('end_date +')}; else $user_input->{end_date} = param('start_date');
And I was getting the compilation error as follows
yntax error at /var/www/cgi-bin/post.cgi line 21, near "if defined"
Execution of /var/www/cgi-bin/post.cgi aborted due to compilation errors.
can anybody give me correct syntax for it ???
Thanks in advance !!!!
In reply to syntax of defined by siddheshsawant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |