I want to know that "Is it possible to open a popup window containing php code by clicking a submit button or any image button"
Pop up window will contain php code along with html form.
If u know this, please let me know.
yep... exactly the same as opening any other page using javascript.
<input type="button" value="Pop-Up" onClick="window.open('address.php','','width=550,height=400');">
thank you thorpe and federick for your reply.