Hi all,
I have a page which selects data from a database using $groupid and $personid as unique values to identify the record i need.
I now need to build thi spage so that it works in a loop for every $personid within the $groupid that is sent to the page.
My current code is something like this:
$personid = $GET['pid'];
$groupid= $GET['gid'];
$sqlquery = "Select my data where groupid = $groupid and personid = $personid";
echo the details of this record to the screen;
mysql_free_result;
I now need to pass ALL personid's ($_GET['pid']😉 to the page and then loop through my page for each one.
Can someone advise?
Thanks.
Newbie.