11-16-2011, 10:03 PM
|
#2 (permalink)
|
|
The Visitor
Join Date: Nov 2011
Posts: 2
Thanks: 0
|
This should probs do the trick
PHP Code:
$query = "SELECT * FROM tblparts ORDER BY part_manufac_code DESC, part_id_num DESC LIMIT 1"
$row = mysql_fetch_array( mysql_query( $query ));
echo "The result is {$row['part_number']}";
|
|
|
|