Re: [PHP] Determine whether $_GET has a value

2004-06-24 Thread Brent Baisley
This is a thorny topic for some people to grasp. The way I finally figured it out is that there are three answers to a yes and no question: yes, no and no answer. Or, to put it in boolean terms 1,0,NULL. It's that third option in a two option multiple choice question that throws things. What y

Re: [PHP] Determine whether $_GET has a value

2004-06-23 Thread Chris Shiflett
--- Terence <[EMAIL PROTECTED]> wrote: > Say you have a querystring - index.php?myname=joe > > To determine whether myname has a value I have come to the following > conclusions / shortcomings when using one of the following: There is an inherent problem in the varying ways that people interpret

[PHP] Determine whether $_GET has a value

2004-06-23 Thread Terence
Hi, Say you have a querystring - index.php?myname=joe To determine whether myname has a value I have come to the following conclusions / shortcomings when using one of the following: ISSET = as long as the variable myname exists it's set, but there's no guarantee of a value !EMPTY = if your nam