Re: [PHP] form validation code

2010-06-30 Thread Richard Quadling
On 30 June 2010 14:53, Shreyas Agasthya wrote: > http://www.php.net/manual/en/types.comparisons.php > The first table actually gives a very good understanding. > --Shreyas > > On Wed, Jun 30, 2010 at 7:05 PM, Richard Quadling > wrote: >> >> On 30 June 2010 14:23, Daniel P. Brown wrote: >> >    (

Re: [PHP] form validation code

2010-06-30 Thread Shreyas Agasthya
http://www.php.net/manual/en/types.comparisons.php The first table actually gives a very good understanding. --Shreyas On Wed, Jun 30, 2010 at 7:05 PM, Richard Quadling wrote: > On 30 June 2010 14:23, Daniel P. Brown wrote: > >(Hint: isse

Re: [PHP] form validation code

2010-06-30 Thread Richard Quadling
On 30 June 2010 14:23, Daniel P. Brown wrote: >    (Hint: isset != empty) More importantly ... isset != !empty $a = Null; $b = ''; // $c = undefined; $d = 'Hello'; isset($a) = False vs True = empty($a) isset($b) = True vs True = empty($b) isset($c) = False vs True = empty($c) isset($d) = T

Re: [PHP] form validation code

2010-06-30 Thread Daniel P. Brown
On Wed, Jun 30, 2010 at 09:07, David Mehler wrote: > Hello, > I've been looking at this to long, and am not seeing the issue. When i > had the below php code set to !empty instead of !isset as it is now I > got the value of the name variable echoed back, yet on sql insert that > field, along with

[PHP] form validation code

2010-06-30 Thread David Mehler
Hello, I've been looking at this to long, and am not seeing the issue. When i had the below php code set to !empty instead of !isset as it is now I got the value of the name variable echoed back, yet on sql insert that field, along with all others are empty, though no error is generated, just a bog