title: Inserting Auto Generated PHP Code from PHPMYADMIN
body: <p>How do I utilize the prepared statements of PHP code that PHPMYADMIN creates when you insert code into SQL?</p>
  
  <p>I'm using a SQL statement that displays the date in particular column in a paticular format.</p>
  
  <p><strong>PHP:</strong></p>
  
  <p>$sql = 'SELECT TIME_FORMAT(last_update, "%l:%i:%s %p") FROM mytable';</p>
  
  <p><strong>MYSQL:</strong></p>
  
  <p>SELECT TIME_FORMAT( last_update,  "%l:%i:%s %p" ) 
  FROM myTable;</p>
  
  <p>LIMIT 0 , 30</p>
  
  <p><strong>I understand that $sql is a variable... But how should I utilize this variable? How do I "run" this statement so the format will display correctly?</strong></p>