Re: Variabe != Value???

From: Date: Fri, 16 May 2003 04:53:10 +0000
Subject: Re: Variabe != Value???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147857@lists.php.net to get a copy of this message
The problem is using "?PRODUCT_LIST&action=...". You need to give each GET variable a value, so "?product_list=1&action=...". Cisar Aracena wrote:
Hi all, I just found a very strange thing inside my code. I tried to make a standard GET link like: <a href=\"".$PHP_SELF."?product_list&action=editproduct&product_id=0001>EDIT</a> which should work right?.... WRONG!!!! when I try to recognize the "$action" variable it just goes through without reading it... I checked my code for hours and every IF and ELSEIF look fine. Now, if I take the "$action" variable away and justleaves "editproduct", the code listen ok... Any ideas? maybe a reserved variable? Thanks a lot, ----------------------- Cesar Aracena lists@icaam.com.ar http://www.icaam.com.ar Cel: +54.299.635-6688 Tel/Fax: +54.299.477-4532 Cipolletti, Rio Negro R8324BEG Argentina --------------------------- Soluciones profesionales en Internet y Comunicaciones http://www.icaam.com.ar
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#147857) next »