Numero aleatorio por rango


/ Published in: Smarty
Save to your folder(s)

Cambiar el valor "n" por el numero maximo


Copy this code and paste it in your HTML
  1. {assign var='random' value=1|rand:n}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.