Can some one help in passing parameters from one page to another using Links. I don't want to use submit buttons on form.
Safwi
How to pass parameters from one page to other using links
Moderator: General Moderators
Re: How to pass parameters from one page to other using links
Code: Select all
<a href="page.php?var1=x&var2=y&var3=z">link</a>Re: How to pass parameters from one page to other using links
thanks alot. I am new to web programming and am sure that u wouldn't be harsh with my stupid questions.
can u plz. tell me how to receive the value on page2.php. can i receive it through $_get['var1'] as with forms or through some other way.
Safwi
can u plz. tell me how to receive the value on page2.php. can i receive it through $_get['var1'] as with forms or through some other way.
Safwi
Re: How to pass parameters from one page to other using links
You may also want to read:Forum Rules wrote: 11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.
Re: How to pass parameters from one page to other using links
yes you can receive them as get variables.