Parse error:
Dear Sir/Madam
Im difficulty in correcting if statement from Windows to Linux, the first code line? your respond will be highly appreciated. if ( != '') && ($_GET ['from'] != '') && ($_GET ['request'] == 1)) { if ($formno != '') send_email ($_GET ['col'] , $_GET ['from'] , $formno, $org_id, $search); else send_email($_GET['col'], $_GET['from']); } |
You might want to change formno !=" to formno !="", and just put 'fi' at the end of the script.
|
which language is it at all? Is this only part of that script or is this the full program you have?
Would be nice to post the whole error message you got, not only parts. And how did you get it? There is an unpaired ) at the end of the first line, probably that is your issue... |
Welcome to LinuxQuestions.
I assume it is PHP but posting the exact error message would help us decipher your code. As suggested the if statement has an unpaired ) and it looks like something is missing here ( != ''). |
All times are GMT -5. The time now is 01:41 AM. |