title: Can I run PHP Scripts on iOS device?
body: <p>I have an application that gets data from a SQL Server database using a PHP Script stored in an online server.</p>
  
  <p>I get the data on my iOS app with <strong>NSURLConnection</strong>, I connect to the script and the script executes the queries on the server.</p>
  
  <p>My question is, can I store this script on the iPhone or iPad and forget the online server?
  Also, can I execute SQL Server queries without PHP Scripts and POST methods?</p>