6
If you want to display platform names in the search results, then change the following line
SELECT d.lid,d.cid,d.title,d.submitter,d.date,t.description
to
SELECT d.lid,d.cid,d.title,d.submitter,d.date,t.description,d.platform
and
$ret[$i]['title'] = $myrow['title'];
to somethins like below
$ret[$i]['title'] = $myrow['title'].'('.$myrow['platform'].')';
Hope this helps.