Forum Moderators: coopster

Message Too Old, No Replies

How do you create a link using a URL from input field?

         

runningthingz

6:08 pm on Feb 13, 2009 (gmt 0)

10+ Year Member



Hey guys,

I'm trying to create a form where a user can input their URL, pick an image (check box), and then submit. I'd like it to generate HTML code that they can copy & paste with their URL and the image they selected.

Any help would be greatly appreciated!

Thanks!

coopster

8:45 pm on Feb 13, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, runningthingz.

Capture the form values and put the html together. Use the PHP function htmlentities [php.net] to push the assembled HTML out to the browser for them.