OK I found a trick that works after all. Since I am having members upload images to a database I am creating an new column with auto increment properties which generate the current number of the image they are uploading and naming it 'LATEST', create a recordset to display in DESCENDING order & filtering by a unique USERNAME also in the database -then add the PHP code within the sliding page script and it works perfect, takes me to the latest page the user has uploaded.
<a href="#" onclick="sp1.showPanel(<?php echo $row_Recordset4['LATEST']; ?>);">LATEST</a>