Re: how to pass a number through href url?

From: Date: Sat, 13 Jun 2009 19:40:11 +0000
Subject: Re: how to pass a number through href url?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-294017@lists.php.net to get a copy of this message
2009/6/13 PJ <af.gourmet@videotron.ca>: > I wish to be able to edit db field that is displayed in a page by > calling up another page to handle the editing. > The problem is how to pass the id (number) through an href. In other > words, can the number be included in the uri  and then filter the uri to > leave just the number? > Is something like this at all possible? Oh dear $DEITY. Please find a beginners tutorial to PHP and complete it before asking questions on this list. http://www.example.com/index.php?id=12345 will give you $_GET['id'] == 12345 -Stuart -- http://stut.net/

« previous php.general (#294017) next »