How to write Shorthand PHP if and else assignments
How to write Shorthand PHP if and else assignments
User Tools
Forums
Login
Register
User Profile
Submit a Tutorial
Faqs
Newsletter
Advertise
Contacts
Site Map
2D Graphics
Fireworks
(272)
Flash
(4177)
Gimp
(257)
Illustrator
(1558)
Paint Shop Pro
(54)
Photoshop
(17360)
3D Graphics
3DS MAX
(2468)
AutoCAD
(90)
Blender 3d
(293)
Bryce 3d
(29)
Cinema 4D
(144)
Lightwave 3D
(38)
Maya
(579)
Web Design & Development
Adobe Flex
(65)
ASP
(376)
ASP.NET
(489)
ColdFusion
(16)
CSS
(580)
Dreamweaver
(381)
HTML
(413)
Java
(769)
Javascript
(972)
MM Fusion
(1)
MS FrontPage
(20)
Perl and CGI
(128)
PHP
(1563)
Python
(69)
Ruby on Rails
(106)
SEO
(192)
Web Design
(324)
XML
(164)
Business Applications
MS Excel
(449)
MS PowerPoint
(170)
MS Word
(158)
QuarkXPress
(8)
Business Development
Accounting
(45)
eCommerce
(78)
Legal
(8)
Marketing
(245)
Databases
DB Design
(11)
DB2
(24)
MS Access
(107)
MsSQL
(47)
MySQL
(114)
Oracle
(35)
SQL Basics
(59)
Sybase
(3)
Desktop Programming
C and Cpp
(510)
Delphi
(21)
Visual Basic
(336)
Visual C
(29)
Operating Systems
Linux
(648)
Windows
(1717)
Video Editing
Final Cut Studio
(23)
Premiere
(64)
Miscellaneous
P2P Filesharing
(8)
Web Hosting
(160)
Newsletter
User Login
Username
Password
Stats
Tutorials:
39,024
Categories:
572
PHP Tutorials
: How to write Shorthand PHP if and else assignments
Learn how to write really short if and else assignments in PHP using the ternary operator
View Tutorial
Detailed Information
Tutorial:
How to write Shorthand PHP if and else assignments
Date Listed:
2010-03-14
Submitted By:
birdandco
Total Hits:
1563
Rating
(21 votes)
•
Discuss Tutorial
•
Comment On Tutorial
•
View Tutorial
•
Report Broken Link
[-X-]