Jump to content

Archived

This topic is now archived and is closed to further replies.

desithugg

viewing stuff from db

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.