0

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'));
3
  • Any clue as to the contents of /feeds/sancap/vrets/run_interactive_job.php? Commented Mar 13, 2012 at 12:12
  • I have run your code but does not get any error Commented Mar 13, 2012 at 12:13
  • 2
    You will need to post the previous line(s), the error is not in the one you posted. Commented Mar 13, 2012 at 12:13

1 Answer 1

5

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.