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!
I want to pass this variable value "PPP" to another page at the same time also ie with only one click like if I have another page called "abc.php", I want to use that variable value "PPP" on page "xyz.php"(as shown in my code) and "abc.php" at the same time.
and so on. I have like 25 such links. I can carry these variable values to page "xyz.php" and its working fine. I just want to carry these same values(like variables act1, act2, .......etc) in the same style to another page like "abc.php".
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
hi
you mean like
[syntax="html"]<a target="Content" STYLE="text-decoration:none" href="xyz.php?act1=PPP", "abc.php?act1=PPP"><><font face='Verdana' size='3' color=#FFFFFF><small>PPP</small></font></a>
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
The browser cannot request two pages for the same page. The latter request will often be used. Although your posted syntax won't even attempt to request two pages.
which later request is often used? The one which I sent in my last message? but its not working at all. If I can't request 2 pages , then how can I get the variable value on the other page ie abc.php with one click??
Latter, as in the last request made by the user of the browser. If one clicks a link then clicks a different link before the page has changed the second link will more often then not be take priority to follow by the browser.
Your site design may need some revision if you need two pages requested with a single click. For example, one page could incorporate the other via include().