php-general | 2001122
Date: 12/31/01
- Next message: Brian Clark: "Re: [PHP] Regular Expression Help"
- Previous message: Todd Cary: "Re: [PHP] Re: Need some Linux/Apache help"
- In reply to: scott: "RE: [PHP] Real Simple, but i'm new!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
FYI
This example does not return the expected result.
Accessing:
http://server.com/empty.phtml?variable
Then:
<?php
if(!empty($variable)){
echo TRUE;
}
?>
Will never print TRUE according to the example. The "isset()" function is
likely better suited for this person's purposes.
Robert V. Zwink
http://www.zwink.net/daid.php
-----Original Message-----
From: scott [mailto:lists <email protected>]
Sent: Saturday, December 29, 2001 10:48 PM
To: Php-General
Subject: RE: [PHP] Real Simple, but i'm new!!
well, if your URL is index.php?links
if (!empty($links))
is similar to what you'd want to use.
> -----Original Message-----
> From: Brian Clark [mailto:brianj <email protected>]
> Sent: Saturday, December 29, 2001 9:44 PM
> To: PHP is not a drug.
> Subject: Re: [PHP] Real Simple, but i'm new!!
>
>
> * FiShcAkE (lee.osborne <email protected>) [Dec 29. 2001 13:07]:
>
> > Hey,
>
> Howdydo
>
> > I've just started learning php and I need to know this... What are the
> > commands I use to get i.e. index.php?links and index.php?news to
> > work?
>
> You can use QUERY_STRING, but you could also use action=news,
> action=links, action=asdfg and use a switch($action)
>
> I guess you're trying to make the URL as pretty as possible, right?
>
> --
> Brian Clark | Avoiding the general public since 1805!
> Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
> A library is an arsenal of liberty.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Brian Clark: "Re: [PHP] Regular Expression Help"
- Previous message: Todd Cary: "Re: [PHP] Re: Need some Linux/Apache help"
- In reply to: scott: "RE: [PHP] Real Simple, but i'm new!!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

