Forums
May 15, 2024, 04:47 PM

Author Topic: PHP expert needed!  (Read 5318 times)

0 Members and 1 Guest are viewing this topic.

Offline Ray

Re: PHP expert needed!
« Reply #60 on: May 17, 2012, 07:23 PM »
Actually, MonkeyIsland's method works, since I sanitize the integer first, check my post! :) Nice link Statik, I could not find that solution, my googleing skills suck seemingly. :D I'm gonna go with that, just to keep consistency at the maximum.

Isn't it strange that PHP automatically type casts int 0 to FALSE? ???

Get a life

LOL

No offense, Ray. Was just a funny answer after all that code stuff. :)
Non taken, was indeed funny. ;D
« Last Edit: May 17, 2012, 07:40 PM by Ray »

Re: PHP expert needed!
« Reply #61 on: May 17, 2012, 07:47 PM »
Isn't it strange that PHP automatically type casts int 0 to FALSE? ???

It would be strange if int 0 == TRUE :D It's a common practice, not only in PHP and you should remember about this thing :P


dt`wreckz: zooks are effected my win

Offline nino

Re: PHP expert needed!
« Reply #62 on: May 17, 2012, 08:06 PM »
if statik = homo then  True , if Ray even kissed a girl then False , i hope them dont get mad at me(Array = king).

Thats the proprer code, any doubt contact me.
You Are Losing Time Reading my Signature.

Re: PHP expert needed!
« Reply #63 on: May 17, 2012, 08:42 PM »
nino, you don't belong there, SLAVE!


dt`wreckz: zooks are effected my win

Offline nino

Re: PHP expert needed!
« Reply #64 on: May 17, 2012, 08:49 PM »
nino, you don't belong there, SLAVE!

False xD
You Are Losing Time Reading my Signature.