Gem Posted April 6, 2009 Share Posted April 6, 2009 Hiya I'm still stuck with getting my links to work ... at the moment they look like this: <a href='test1.php?currentpage=$id'>$title</a> (It used to be PHP_SELF but I thought it might work if I sent it to another page altogether) My question is ... How do I tell 'test1.php?currentpage=$id' what to display, or would this be better: <a href='$id.php'>$title</a> Although that still leaves me not knowing how to tell THAT page what to display ... am I making sense? Cheers Gem Quote Link to comment Share on other sites More sharing options...
WolfRage Posted April 6, 2009 Share Posted April 6, 2009 We have no idea what your end goal is, so no you are not making a lot of sense. Quote Link to comment Share on other sites More sharing options...
Gem Posted April 6, 2009 Author Share Posted April 6, 2009 Sorry Basically: I have a table (id, title, subtitle, article) On test.php I have listed listed title, subtitle by id desc title is linked as shown above I now want to be able to open that link and see title,subtitle,article on a new page, same page ... any page?? Make sense now?? x Quote Link to comment Share on other sites More sharing options...
revraz Posted April 6, 2009 Share Posted April 6, 2009 I really don't know why you made a new subject for this when all the information was already in your other post. You set the ID just like you were setting the $currentpage variable. Quote Link to comment Share on other sites More sharing options...
Gem Posted April 6, 2009 Author Share Posted April 6, 2009 Sorry Rev - I just wanted to know if $id.php would work ..? I'm going back to my other subject now.. I'll mark this one as done =( Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.