Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Downloads.php su autoriumi

Parašė bad_user· 2008 Lap. 29 00:11:25
#12

$result = dbquery("SELECT * FROM ".$db_prefix."downloads
LEFT JOIN ".$db_prefix."users ON download_author = user_id
WHERE download_cat='$cat_id' ORDER BY ".$cdata['download_cat_sorting']." LIMIT $rowstart,15");




Keisk į

$result = dbquery("SELECT * FROM ".$db_prefix."downloads
LEFT JOIN ".$db_prefix."users ON download_author = user_id
WHERE download_cat='$cat_id' ORDER BY download_datestamp LIMIT $rowstart,15");