Jump to content

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.
Link to comment
https://forums.phpfreaks.com/topic/6137-viewing-stuff-from-db/#findComment-22224
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]
Link to comment
https://forums.phpfreaks.com/topic/6137-viewing-stuff-from-db/#findComment-22287
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.