Re: how can I CALL a PHP script from different TEXT LINKS with differentPARAMETERS?

From: Date: Sat, 19 Nov 2005 05:33:10 +0000
Subject: Re: how can I CALL a PHP script from different TEXT LINKS with differentPARAMETERS?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-226112@lists.php.net to get a copy of this message
On 11/19/05, Webmaster <webmaster@lindworm.de> wrote: > You can send data to the next php file by HTTP-GET. > Simply add a ? behind the link and then <variablename>=<value>. > Example ./jumpto.php?to=searchProduct Well i think it was about the code inside the search/add/edit pages not how to reach them. If i understood correctly, you're trying to reduce the amount of code to write by applying a pice of common code on your objects (product/member/order) while adding specific functionality using a switche specifed as a paramter (?object=Product/Member/Order)... It just all depends on "how common" are these operations that needed to be applied in each case.. so you knows that better -ahmed -- <b>ahmed</b>

« previous php.general (#226112) next »