You need to uniquely identify the record ID in order to distinguish loading record 3 from record 4. Or, do you want to just go to findanagent_details.php and have record 4 automatically load 100% of the time?
You'll need the 4 in the url somewhere so that the page can know which record to retrieve. Either that or you set a cookie or similar via js - but that's just crazy. Even crazier would be sending data as post!
Hi the above is a link from a previous page with a list of products. Depending on which product's link you click on will take you to the detailed information. So could be anything from Record 1 to Record 1000
I thought in my head that you could do a base64_encode at the link end and then base64_unencode at the display end, but maybe I'm off track....?
we cannot encode this recordID to base 64, unless you want to use pregmatch on the url extracting this part, and then use base64_decode.. for the above code, you extract the encoded integer ...like this
$record_id = base64_decode ($_GET['recordID']);
Record ID should be now back to its original value which is 4.