Hi,

 All values passed via query string will be available
via in $_GET array. You can simply get them from this
array.

Example 

http://www.example.com/script.php?fname=me&lname=you

then fname and lname will be available as 

$fname =$_GET['fname'];
$lname =$_GET['lname'];
BTW it is basic PHP, I think you should read a
inroductry tutorial about PHP.

Additional functions may be usefull in some advanced
level programming. These are parse_url and parse_str

http://www.phpcertification.com/manual.php/function.parse-url.html

http://www.phpcertification.com/manual.php/function.parse-str.html


Zareef Ahmed

--- AMC <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> How do you access values sent to a page as part of a
> querystring in php?
> 
> ac
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


=====
Zareef Ahmed :: A PHP Developer in Delhi ( India ).
Homepage :: http://www.zasaifi.com/zareef_ahmed.php


                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to