I have a form that posts on a page. I want to display an image if the value of the item posted is equal to "paypal".
I have to write something that says;
If $ _ POST ['method']
equals "paypal" then paypal.gif
if I hope I am making a bit of understanding, the best for php i If the methods contain the same values as file names, then you can use it: $ _ POST ['method' ]
& lt; Img src = "& lt;? = $ _ POST ['method']? & Gt; .gif" />
Comments
Post a Comment