RE: [PHP] PHP and FORM

From: Date: Tue, 03 Oct 2000 11:35:26 +0000
Subject: RE: [PHP] PHP and FORM
Groups: php.general 
Request: Send a blank email to php-general+get-18405@lists.php.net to get a copy of this message
You already got it: SELECT url FROM Location WHERE ID=$id means that it will select 'url' in the row where the column 'id' equals to whatever $id equals. add it manually to your url, like file.php?id=0001 and you'll see what MySQL will pull you out. -----Original Message----- From: Bilgehan [mailto:bilgehan.yildirim@veezy.com] Sent: Tuesday, October 03, 2000 8:22 PM Cc: PHP Subject: Re: [PHP] PHP and FORM Ok that worked :)) Thanks.. Another question : SELECT url FROM Location WHERE ID=$id I have a db with id and url sections in a table. have can i get url of id ? ----- Original Message ----- From: Charles Killian <Charles@AlcatrazDesignGroup.com> To: Bilgehan <bilgehan.yildirim@veezy.com> Sent: Tuesday, October 03, 2000 2:16 PM Subject: Re: [PHP] PHP and FORM > No parsing is necessary. Try this after the submit: > > print $id; > > php automatically assigns the get/post/cookie variables a variable. > > Charles > > > ----- Original Message ----- > Sent: Tuesday, October 03, 2000 4:10 AM > Subject: [PHP] PHP and FORM > > > Hi there! > I will try to explain my problem with an example > > I have a link <a href="go.php?id=4">About</a> > and i cache the query string in go.php like > $info = $QUERY_STRING; > > now how can i parse the $info to id and id number.. > > Sorry for my explanation. :) > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#18405) next »