I've got the feeling this is something -really- basic, and even though I consider myself semi-quasi-kinda-decent at PHP i'm not sure how people do it..

filename.php?variablevalue

how does it know what variable that value belongs to?

or basically.. how does it work?

i've seen it like that, and i've even seen a forum that had:

filename.php?value1&value2

someone.. please? it looks so neat and tidy.. /me wants! 😃

    Well you can use $_SERVER['QUERY_STRING'] to get the query string, so it doesn't have to say what variable it's for. But use the @ operator infront of that since it causes an error if there's no query string.

      Write a Reply...