Log in

View Full Version : Multipart URL Reference?



Rockonmetal
04-05-2008, 03:26 PM
Hey... I learned a little bit from techsupport's tutorial on php templates on URL referencing. I was wondering how do you get multipart urls... Like below

http://www.pureadd.com/profile.php?user=administrator?field=info
Or however you would put two references together... cuz i think the question mark would be a little hard to separate for the user and the field...
Then have it so it receives the field "info" from a MySQL database from Administrator's row?

Thanks upfront

Jas
04-05-2008, 04:31 PM
Seperate each variable in the URL with an amp:


http://www.mysite.com/index.php?var1=1&var2=2

And then use $_GET['var1'] and $_GET['var2'] to retrieve the values.


Then have it so it receives the field "info" from a MySQL database from Administrator's row?

I don't understand the question.