filebase
forums
discord
server
github
wiki
web
cubebot
epodbot
fritzbot
gravebot
grogbot
hpbbot
ivpbot
jkbotti
joebot
meanmod
podbotmm
racc
rcbot
realbot
sandbot
shrikebot
soulfathermaps
yapb
.:: Bots United ::.
>
Developer's Farm
>
General Programming
PHP Question
User Name
Remember Me?
Password
General Programming
Help others and get yourself helped here!
Thread Tools
PHP Question
(#
1
)
Ancient
PodBot MM's Laziest Waypointer
Status:
Offline
Posts: 1,010
Join Date: Jan 2005
Location: Nebraska, United States of America
PHP Question -
22-12-2007
I've seen this in the NSS Forum.
Code:
$sticky = ($_POST['sticky'])?1:0;
What is that?
Code:
()?1:0;
Is that like?
Code:
1 || 0
Also, do you know where I can download a PHP book?
[Web Designer][Waypointer][Gamer]
CFE Games Administrator
[CFE]Games.com
[Never Trust the Untrusted]
Ancient
View Public Profile
Send a private message to Ancient
Visit Ancient's homepage!
Find More Posts by Ancient
Re: PHP Question
(#
2
)
Whistler
Summoner
Status:
Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Re: PHP Question -
22-12-2007
"a ? b : c" means "if a is true then the value is b, otherwise the value is c".
for a PHP book, search for "bruce perens open source series" in Google and I'm sure you can find a pretty good one.
Whistler
View Public Profile
Send a private message to Whistler
Visit Whistler's homepage!
Find More Posts by Whistler
Re: PHP Question
(#
3
)
Ancient
PodBot MM's Laziest Waypointer
Status:
Offline
Posts: 1,010
Join Date: Jan 2005
Location: Nebraska, United States of America
Re: PHP Question -
23-12-2007
Thanks.
I guess in lamens terms it's a mini if/else.
I got O`rileys book.
TY for the help.
[Web Designer][Waypointer][Gamer]
CFE Games Administrator
[CFE]Games.com
[Never Trust the Untrusted]
Ancient
View Public Profile
Send a private message to Ancient
Visit Ancient's homepage!
Find More Posts by Ancient
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Show Printable Version
Email this Page
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Important !
Important Read First
Cyborg Factory
Cube Bot
E[POD]bot
FritzBot
Developers Forum
Waypoint Forum
Grave Bot
GrogBot
HPB_bot
JKBotti
JoeBot
POD-Bot mm
Releases, Installers, Docs & Coding
Bug Reports
Ideas
Common Questions
RACC
RealBot
General Forum
Help request
The RealBot 'Source'
Sandbot
ShrikeBot
General chit-chat & stuff
Suggestions
Bug Base
United Bot
YaPB
Inactive Projects
IvPBot
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by:
vBStyles.com
Contact Us
-
Bots United
-
Archive
-
Top