|
![]() |
#1 |
Certified Nice Person
|
Terinary operator in PHP
Fuck me with a stick.
I have this piece of code which pulls words from flatfile databases: Code:
$sentence = ($type ? "$word1[0] $word2[0] $word3[0] $word4[0]" : "$word1[0] $word2[0] $word3[0] $word4[0] $word5[0]");
__________________
Click here to purchase a bridge I'm selling. |
![]() |
![]() |
|
|