I am stuck on filtering the second recordset. Not sure how to write the SELECT photos when photos_description is the same? I know it should be simple.
the first recordset
$rs_photos1 = new WA_MySQLi_RS("rs_photos1",$connstake,0);
$rs_photos1->setQuery("SELECT DISTINCT photos.photos_description FROM photos ");