I want to make a php form, which takes an URL as input from user and then, adds a block of text to it.
Example : if a user enters “http://solmri.com/27” in the form, and, the php script adds “?geek” to it.
So, the result the user gets is “http://solmri.com/27?geek” …..
Please suggest a method to do it….
I want to make a php form, which takes an URL as input from
Share
Are you talking about string concatenation in php?
http://php.net/manual/en/language.operators.string.php
as a side note, if you are planning to pass variables using the url you would need to do something like