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:[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 ([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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to