foreach($users as $user): ?>
First: echo($user['name']); ?>
Last: echo($user['last']); ?>
endforeach; ?>
==== If / ElseIf / Else Examples ====
if ($a == 5): ?>
A is equal to 5.
endif; ?>
if ($a == 5): ?>
A is equal to 5
elseif ($a == 6): ?>
A is equal to 6.
endif; ?>
===== Screen Shot =====
This is how the finished web application looks when it's opened in a JavaScript pop-up window. You don't need to open it in a pop-up but it looks nice and clean.
{{ :applate_screenshot.jpg }}
===== License =====
Applate is distributed under a MIT style license with the requirement to distribute the license removed.
Copyright (c) 2009 Joel Dare
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.