Create a gist now

Instantly share code, notes, and snippets.

@jlamim /home.php
Last active Apr 16, 2016

Embed
What would you like to do?
View Home - Tokens únicos com CodeIgniter
<div>
<div>
<h1>Tokens únicos com CodeIgniter</h1>
</div>
<p><a href="<?=base_url('generate-token')?>" title="Clique aqui para gerar um token único">Clique aqui</a> para gerar um token único.</p>
<?php if($tokens): ?>
<h3>Outros tokens gerados</h3>
<ul>
<?php foreach($tokens as $tk): ?>
<li><?=$tk->token?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment