Insert Variable into an iframe

Hi all, I am trying to create a page that displays videos bu querying a database. I have it working properly except that i want it to be an IFRAME that we can control the height and width. Right now if you put the IFRAME into the SQL server, it displays the IFRAME. What I am trying to do is get a PHP variable to be parsed in the src part of the iframe. Is this at all possible?