How Do I Make... |
How Do I Make... |
![]()
Post
#1
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 63 Joined: Jun 2009 Member No: 735,129 ![]() |
How do i make like a box
wich you enter a text or something like an example... i enter my myspace ID and it will give de url for the add button i dont know either php or JS and just a litle of css php i could understand it, but i can't make it :( look like this i insert a text on a box what ever i put in.. it will go like this # = text go in! CreateBlog.com/forums/userID=# where the # i want the text dthat i put on the box shows up in thhere and gives the url PD: i dont know that much english but hope you understood me. :) |
|
|
![]() |
![]()
Post
#2
|
|
![]() Offline. ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 609 Joined: Mar 2007 Member No: 507,591 ![]() |
If you look at my first post you see that I highlighted a line in red
CODE echo "CreateBlog.com/forums/userID=<b>" . $id . "</b>"; In that line is where all the substitution takes place and you can change it very easily. You can remove the bold "<b></b>" it is not necessary. CODE echo "CreateBlog.com/forums/userID=" . $id; $id is what the user inputs into the form. If you want the word userID to be substituted by the inputted data, then all you have to is remove the "userID=" and you'll get it. Final Code CODE echo "CreateBlog.com/forums/" . $id; You can change anything within the quotes "". lastly if you want to remove the text Enter ID# Above! that shows before the the user enter the ID#, just remove everything within the single quotes 'Enter ID# Above!' |
|
|
![]() ![]() |