|
Posted by Markus Ernst on 10/13/95 11:50
Cal Lidderdale schrieb:
>
> $list = array (name, address, phone);
> foreach ($list as $item) {
> $$item = isset($_GET["$item"]) ? $_GET["$item"] : false;
> }
Should actually display 3 undefined constant notices... change the use
of quotes, quote strings but not variables:
$list = array ('name', 'address', 'phone');
foreach ($list as $item) {
$$item = isset($_GET[$item]) ? $_GET[$item] : false;
}
> ( I tried to find a animated gif of a sweeping bow - ya know, sometimes
> the internet stinks - How to tie a sweeping bow - No a bow not a bow. ) :-/
I am sorry I am not a native English speaker, and I don't understand
exactly what you mean. Anyway smell is a quite common phenomenon
wherever civilisation happens...
Navigation:
[Reply to this message]
|