Posting variables

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
PhpDog
Forum Commoner
Posts: 58
Joined: Mon Jan 14, 2008 10:23 am

Posting variables

Post by PhpDog »

Usually I POST variables via the html FORM to send variables to another php page.

In this instance I want to use a html link to send variables to another php page. How can I do this please?
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Re: Posting variables

Post by Zoxive »

User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Re: Posting variables

Post by anjanesh »

PhpDog wrote:In this instance I want to use a html link to send variables to another php page. How can I do this please?
If you're trying to avoid data followed by the the question mark (?) as in script.php?a=11&b=3&c=yh but want it to look like a static html link, use htaccess to be able to have the link something like :
script-a-11-b-3-c-yh
Post Reply