
MySQL
You are probably referring to running a
MySQL query from within a PHP script. This is often done so that the PHP code can perform operations on the data that it gets out from the database. Creating an actual query from php is fairly simple once you have everything else set up, in fact if you know
MySQL already you can just use the exact same syntax in PHP.
Here is a link to a tutorial that will show you how to set up everything:
MySQL/">http://www.freewebmasterhelp.com/tutorials/php
MySQL/