I would also agree that allowing parent registration could be risky. What you
may be able to do just off the top is create a UserLevel field in your users
table and assign value 1 for all those who say they're students. That is, if
you have no student ids at your disposal.
Then, when parents
Hi,
I noticed that the following returns a 1.
echo (12) ? True : False
I was under the impression that true/false are of type boolean and not int.
But in php anything other than 0 translates to true, meaning a 1. What I am
trying to achieve is for a 1 to be a 1 and a true or false to be a
On Mon, Sep 7, 2009 at 4:14 PM, Bobby Pejman bpej...@gmail.com wrote:
Hi,
I noticed that the following returns a 1.
echo (12) ? True : False
I was under the impression that true/false are of type boolean and not int.
But in php anything other than 0 translates to true, meaning a 1. What
Your dbupdate is probably executing a mysql_query command. Is so, update
results from mysql_query will be either true on success or false on failure.
If your query also fails due to perms it will return false.
--Original Message--
From: A.a.k
To: php-general@lists.php.net
ReplyTo:
Very nice! Use of E_STRICT notifies the user of deprecated functions. Thanks
for the note. :)
I read that E_ALL forces variable declaration, though I have yet to get that
working in my code.
--Original Message--
From: Richard Heyes
Sender: richard.he...@gmail.com
To: Bobby Pejman
Cc
Hi,
Does anyone know when the stable release of PHP6 be ready for download? I
hear there's a lot of goodies in version 6 including built-in Caching.
Yum. Also, will PHP ever implement the Strict mode similar to Perl's 'using
Strict'?
Thanks,
Bobby
6 matches
Mail list logo