Forum Moderators: open
I'm using this format - http#//www.mydomain.com/rssdisplay.htm#24 - as the link that forwards to the new page called rssdisplay.htm. What I need to do is pull ID# 24 (or whatever other one is requested) from the table and display it. But I can't come up with how.
I thought this would work: $select = "SELECT * FROM `news` WHERE `ID` LIKE $ids"; but it doesn't. :( What am I doing wrong here? Can anyone point me in the right direction? [1][edited by: txbakers at 2:05 am (utc) on Oct. 28, 2006]
$referer = $_SERVER['HTTP_REFERER'];
$ids = explode("#", $referer);
$ids = $ids;
[edit reason] de-activated sample link. [/edit]