ClioSport.net

Register a free account today to become a member!
Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

quick php form code help



  20VT Clio & 9-5 HOT
Alreeet.

I've done this before but I cant fooking remember how it differs in PHP to the normal HTML form.

Basically want a hidden form value below to have a URL in it, but if I remember correctly its not like the normal html way as below:

Code:
<input type="hidden" name="template" value="http://myurl.com/users/me/test1.html"
My poor effort at PHP version. Just want to know how to format the URL please! :) (unless its right?)

Code:
<input type='hidden' name='currency' value='".$config['defaultCurrency']."' />
<input type='hidden' name='template' value='http://www.myurl.com/users/me/test1.html'>
 
  306 TD Slut
glad you sorted it. i was about to write a lengthy reply explaining all about how it works..







like foook! i wish!
 
  20VT Clio & 9-5 HOT
hehe it was right in the first place. I was sure there was some kind of weird code before the URL, but obviously not as it worked fine.

I do have a headache now though, just spent all night getting one page to work.
 
  20VT Clio & 9-5 HOT
yeh it wasnt the fact it wanted to be hidden, it was the URL that was important like. the value=

I thought that the url had to be typed slightly different to normal with it being in a php page compared to a normal html one, but i was wronnnggggg!!

main thing is its workin now! woo!
 

KDF

  Audi TT Stronic
Just normal HTML code.. you use the PHP code to deal with the POST or GET data.
 


Top