Page 1 of 3
If Statements
Posted: 26 Jun 2012, 10:48
by Ooopsie
Re: If Statements
Posted: 26 Jun 2012, 10:50
by mikef35
Thanks, very helpful. I will reference this a lot!
Re: If Statements
Posted: 26 Jun 2012, 11:11
by jabhi
Thanks for share ....
Re: If Statements
Posted: 26 Jun 2012, 12:03
by Stoker
Re: If Statements
Posted: 26 Jun 2012, 12:18
by steve
\"" Why? "\"
Re: If Statements
Posted: 26 Jun 2012, 12:23
by Stoker
My mistake, first example works fine.
Re: If Statements
Posted: 26 Jun 2012, 13:02
by steve
Re: If Statements
Posted: 26 Jun 2012, 13:13
by Stoker
Re: If Statements
Posted: 07 Jul 2012, 16:43
by juango
the way Stoker does it is the way i have been doing it for a while now, most mods use them this way.
Re: If Statements
Posted: 07 Jul 2012, 23:02
by Sniper_E
Yep, I've always done it Stoker's way too.
Re: If Statements
Posted: 08 Jul 2012, 02:07
by Daniel
Re: If Statements
Posted: 08 Jul 2012, 09:10
by steve
Not come across that statement pressume phpbb.com uses superglobals or rewrites them blah blah ,my code snippet is fine as it is checked that the $var exist's.
Who said that its not safe or can't be trusted?
Re: If Statements
Posted: 08 Jul 2012, 10:23
by RMcGirr83
Re: If Statements
Posted: 08 Jul 2012, 14:22
by Sniper_E
Re: If Statements
Posted: 08 Jul 2012, 16:24
by juango
correct Rich, that is what i meant to say that it's used for mods, and it's added depending on the page you are on