desithugg Posted March 30, 2006 Share Posted March 30, 2006 nvm.. figured it out Quote Link to comment https://forums.phpfreaks.com/topic/6137-viewing-stuff-from-db/ Share on other sites More sharing options...
fenway Posted March 30, 2006 Share Posted March 30, 2006 I have no idea what you mean. What I think you might need is simply to pass a bunch of usernames to your PHP script. If so, simply add as many "&username=<blah>" to your querys string. I assume that PHP will handle this properly and make an array of them, much like it does (?) with checkboxes. Quote Link to comment https://forums.phpfreaks.com/topic/6137-viewing-stuff-from-db/#findComment-22224 Share on other sites More sharing options...
wickning1 Posted March 30, 2006 Share Posted March 30, 2006 This is more of a general PHP question than MySQL. You can pass information to a script by putting information in the href of the link that brings up the page. For instance, if you make a link like this:<a href="myphpscript.php?id=5&mode=detail">Then in the myphpscript.php file, you can use:$myid = $_GET['id'];$mymode = $_GET['mode'];Try this tutorial and see if it helps you:[a href=\"http://www.freewebmasterhelp.com/tutorials/php/6\" target=\"_blank\"]http://www.freewebmasterhelp.com/tutorials/php/6[/a] Quote Link to comment https://forums.phpfreaks.com/topic/6137-viewing-stuff-from-db/#findComment-22287 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.