Trying to run this single line of code and getting a syntax error, unexpected T_ECHO ...from what I can tell by searching it must have something to do with mis-use of { or ' maybe? I have numerous combinations to no avail? Any ideas?

echo(shell_exec('php -q /feeds/sancap/vrets/run_interactive_job.php /feeds/sancap/vrets/batch_control_files/Land'));
share|improve this question

Any clue as to the contents of /feeds/sancap/vrets/run_interactive_job.php? – TRiG Mar 13 at 12:12
I have run your code but does not get any error – Harry Mar 13 at 12:13
2  
You will need to post the previous line(s), the error is not in the one you posted. – soulmerge Mar 13 at 12:13
feedback

1 Answer

You didn't terminate/close the previous statement properly.

share|improve this answer
feedback

Your Answer

 
or
required, but never shown
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.