Re: Right-click

From: Date: Sat, 05 Apr 2003 21:05:06 +0000
Subject: Re: Right-click
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-26853@lists.php.net to get a copy of this message
First, this should probably be sent to the PHP general mailing list, not the PHP-DB one.
Does anyone know if there is a function in PHP that allows you to right-click on an item, and from there a drop down menu pops up and you can go to another screen, preserving that value that was clicked on?
No. PHP is server-side and what you are describing would be client-side. You might be able to do something like that in JavaScript but I have no idea myself.
If there is no function for right-clicking, then is there a way that when you are selecting something, not on a form, but in a tree, that you can get the value of what you clicked on into the PHP file?
If you make any element on a Web page a url, and make the url something like page.php?clickedon=this, then the PHP page that the user goes to would have a $clickedon ($_GET['clickedon']) variable. Larry

« previous php.db (#26853) next »