Hai,

I had found in many websites that they pass their variable using GET method and their URL is like this http://www.sitename.com/variablename My webserver is apache and please any one help me to pass a variable in this way

Thanks in advance
Rajeesh

Hai,

I had found in many websites that they pass their variable using GET method and their URL is like this http://www.sitename.com/variablename My webserver is apache and please any one help me to pass a variable in this way

Thanks in advance
Rajeesh

you can pass the variables through URL as

http://your_website.php?user_id=$userid&param1=$param1&param2=$param2

and retrieve them in the page as $_GET, $_GET, $_GET respectively

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.