hi ! i use this to get the value of a row from a database
$string = "select * from voci where formid='$formid'";
$result=mysql_query($string);
$row=mysql_fetch_array($result);
$vociid = $row[vociid];
it works great but i have one problem i need to get the smallest value from all rows that works with the select condition. 10x in advance
$string = "select * from voci where formid='$formid'";
$result=mysql_query($string);
$row=mysql_fetch_array($result);
$vociid = $row[vociid];
it works great but i have one problem i need to get the smallest value from all rows that works with the select condition. 10x in advance