is it possible to order a query by another query by mysql_num_rows?
if so, can someone please tell me
thanks
$query2 = doquery("SELECT id FROM table_name2 WHERE id='$thisid'");
$idcount = mysql_num_rows($query2);
I tried this:
$query = doquery("SELECT * FROM table_name ORDER by mysql_num_rows($query2)");
AND
$query = doquery("SELECT * FROM table_name ORDER by $idcount");
but neither is working