How to replace the link?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

keung829
New php-forum User
New php-forum User
Posts: 1
Joined: Tue Feb 19, 2013 5:59 pm

How to replace the link?

Postby keung829 » Tue Feb 19, 2013 6:10 pm

Hello
If i create a textbox=txtbox, let user type a text

And show the QR code image

Code: Select all

<img src="http://www.funcode-tech.com/Encoder_service/img.aspx?custid=1&username=public&codetype=QR&EClevel=0&data=ABCDEFG&width="400" "/>


But how can I do, Let the txtbox text replace the link ABCDEFG

I find information that maybe use "urlencode"
http://php.net/manual/en/function.urlencode.php

I hv try a long time but i don't know how to write the code, any one can help me? THx

Return to “PHP coding => General”

Who is online

Users browsing this forum: krotbacca and 1 guest