Skip to content

Instantly share code, notes, and snippets.

@clouddueling
Created December 9, 2012 22:58
Show Gist options
  • Save clouddueling/4247370 to your computer and use it in GitHub Desktop.
Save clouddueling/4247370 to your computer and use it in GitHub Desktop.
How to write user generated quizzes
<?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