开发者

I want to use an image for a submit button url to be defined by $pic

开发者 https://www.devze.com 2023-02-09 05:00 出处:网络
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\" borde

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); ?>" 
0

精彩评论

暂无评论...
验证码 换一张
取 消