Created
December 9, 2012 22:58
-
-
Save clouddueling/4247370 to your computer and use it in GitHub Desktop.
How to write user generated quizzes
This file contains 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
<?php | |
$users = User::all(); | |
foreach ($users as {{4}}) { | |
$user{{2}}name; | |
} | |
?> | |
/* | |
Answer key | |
1. $user | |
2. -> | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment