Re: Passing url parameters

From: Date: Sun, 03 Oct 2004 00:24:54 +0000
Subject: Re: Passing url parameters
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-36548@lists.php.net to get a copy of this message
You can set this to anything you want. http://www.url.com?new_field=value And you can get the value using the $_GET['new_field'] Amit www.digitalamit.com Stuart Felenstein wrote:
I swear this is not a repeat of earlier post :) When passing variables via URL, my understanding is that the value passed is the database column name. What I don't understand is the name / label part. It seems like the only name I can use is the same name as the value. i.e. Database column: Myfield Value: _get["Myfield"] Name: Myfield (this is the one I want to change, so my database column is not identified in the url) This make sense ? I hope this is not off topic. If it is my apologies. Stuart


« previous php.db (#36548) next »