...Holy cow... nothing to extract the query string, it's automatically part of the environment. So I just do work with the $_GET string, it's in there already... yikes.


Quoting Nathan Rixham <nrix...@gmail.com>:

kbai...@howlermonkey.net wrote:
Your turn! :-D

  $_GET

and if you do post.. (can you guess?)

  $_POST

usage:
  http://www.foo.org/item1/delivery.php?item=name&code=DATA

<?php

 $_GET['item']; // == "name"
 $_GET['code']; // == "DATA"

OK, so $_GET is an array keyed to keywords; plug in the key, out comes the value. What if I just want the entire string?


Best,

Nathan

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






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

Reply via email to