Last active
December 12, 2015 05:18
-
-
Save jibone/4720807 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // I don't think this works... | |
| echo "<td><div class='days'><span>". ($v.if(isset($arr[$v])) { echo $arr[$v]; }) . "</span></div></td>" | |
| // Try this instead.... | |
| if(isset($arr[$v])) { | |
| echo "<td><div class='days'><span>". $v.$arr[$v]; . "</span></div></td>" | |
| } else { | |
| echo "<td><div class='days'><span>". $v ."</span></div></td>" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment