Good afternoon everyone.
I have a question about what could be going wrong in a database query in which I use templates in PHP. Based on this project: link
$sql = mysql_query("SELECT * FROM users ORDER BY idS DESC") or die(mysql_error());
while($row = mysql_fetch_array($sql)){
$tpl->USER_SHOW_TITLE = $row['username'];
$tpl->USER_SHOW_DESC = substr($row['profi_desc'],0,125).'...';
}
I have tried in many ways, but the reusltado is always the same! It shows only a record of the 5 that I have. :