I hope I can explain this right...
We are running SQL Server 2008 R2... On this server we have a t-sql job that executes a script... This script essentially points to a php file that builds a report and emails it.
If we run the job it sends the email, but won't populate data. However, if we execute the php file via command prompt, it works fine...
Any thoughts?