I want to use an image for a submit button url to be defined by $pic
I am trying to use a variable image for a submit button the example below works with a fixed image
<input type="image" src="/images/submit.gif" width="1开发者_JAVA技巧20" height="30" border="0" alt="SUBMIT!" />
What I want to do is use $pic
instead of /images/submit.gif
any offers ?
SRC="<?php echo htmlspecialchars($pic); ?>"
精彩评论