title: Recieve user input to run php script with that user input value from keyboard
body: <p>I have a php script, which I run from the command line in linux (NOT interactive), which does a lookup in a mysql database and based on the value of field "SentOrNotSent" either sends emails or not.  It works fine, this php script.  </p>
  
  <p>Now I want to modify the script so that when it first runs, it asks for an "ID" number for input from the keyboard, then it goes into the MySql database and deletes the record with that ID.  I know how to do the delete, I'm lost on how to get this script to ask for input, then use that value for the part of the mysql update statement to delete the record.</p>
  
  <p>This script is ONLY run from the command line and is based in a directory that ONLY the administrator has access to.</p>
  
  <p>thank you for any help.</p>