All pastes #904896 Raw Edit

Stuff

public php v1 · immutable
·published 2008-02-15 11:18 UTC
rendered paste body
for($a=0;$a<mysql_num_rows($result);$a++) {    $row = mysql_fetch_array($result);    $categoria=$row[0];            if ($a==(mysql_num_rows($result)-1)){									    echo utf8_encode($categoria)." (".$a.").";        }else{											            echo utf8_encode($categoria)." (".$a.") - ";        }}