PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Just use the same syntax as you always would. Theres no point storing the query though as its just an extra command and wastes space - you can just do mysql_query("SELECT.....");