Stevis2002 Posted April 26, 2006 Share Posted April 26, 2006 Please can sombody help me with this?On one page i want a list of links which will each pass a variable along with the url..eg..[a href=\"http://sdrgrestg.com/view.php?id==n\" target=\"_blank\"]http://sdrgrestg.com/view.php?id==n[/a]Then i want the page that views to get all the entries in the db which start with 'n'I have created a recordest on the view page, and optioned it to get all records from a_group and b_group, filter them by url variable, and list by a_group, ascending first, but it doesn't seem to work when i pass the variable to it.Thanks Quote Link to comment https://forums.phpfreaks.com/topic/8450-passing-and-receiving-url-variables/ Share on other sites More sharing options...
onepixel Posted April 26, 2006 Share Posted April 26, 2006 Your url should be : [a href=\"http://sdrgrestg.com/view.php?id=n\" target=\"_blank\"]http://sdrgrestg.com/view.php?id=n[/a]instead otherwise the variable passed will be "=n" intead of just "n"Hope this helps Quote Link to comment https://forums.phpfreaks.com/topic/8450-passing-and-receiving-url-variables/#findComment-31091 Share on other sites More sharing options...
Stevis2002 Posted April 27, 2006 Author Share Posted April 27, 2006 Ok thanks, I'll give it a go. Quote Link to comment https://forums.phpfreaks.com/topic/8450-passing-and-receiving-url-variables/#findComment-31463 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.