Created
March 27, 2013 02:27
-
-
Save LinzardMac/5251081 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
| foreach($statusesray as $status) | |
| { | |
| if($status->type=="status") | |
| { | |
| do stuff | |
| } | |
| // this echos "photo" which is expected when the type == photo | |
| echo $status->type; | |
| // i know this is not working because it is "doing stuff" when the type=="photo" when i only want it to do it when type=="status" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment