{{extend "layout.html"}}
In PHP
{{=CODE("""
In web2py
{{=CODE("""def contacts():
return HTML(BODY(H1('Records'),db().select(db.contacts.ALL)))""",language='python',link='/examples/global/vars/')}}
HTML, BODY, H1, etc. are helpers that build HTML tags. SQLTABLE is a special helper that can render as HTML TABLE any set of records.