I am trying to run a sql stored procedure from php.
The file is names CallFile2.php
<?php
system 'osql -E -d Iris -S Gamay-srv1 -Q "Exec spRunRefresh;" ';
?>
When I run it, I get the following error.
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\Inetpub\wwwroot\CallFile2.php on line 2
Any help would be appreciated.