Re: url query problem
| From: | Minuk Choi | Date: | Sat, 12 Nov 2005 04:10:32 +0000 |
| Subject: | Re: url query problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225666@lists.php.net to get a copy of this message | ||
You've tried accessing $_GET in reservation.php?
Like
$_GET['client'] would return "apartment1" in reservation.php if you clicked on
http://www.taximauritius.mu/reservation.php?client=apartment1
-Minuk
Imroz wrote:
Hi PHP Gurus Am new to the php world, I need help to do something. PlZzzzzz help I have this link http://www.taximauritius.mu/link1.php. What I want to do : When clicking on the link above, that would bring me to a page http://www.taximauritius.mu/reservation.php?client=apartment1, and in this URL, as can be seen, there is a variable called apartment1. I want to get the name of this variable + other form fields in my email message when the form is sent. Actually I do get the other form fields in my email message. I just don’t get the variable (client=apartment1) Am attaching the codes, It would really be grateful if you could plzzz help me. Thanks a lot for helping Imrose -- Outgoing mail is certified Virus Free. Checked by AVG Anti-Virus (http://www.grisoft.com). Version: 7.0.269 / Virus Database: 264.8.0 - Release Date: 9/6/2004