Jump to content
Sign in to follow this  
Gaz

php/mysql

Recommended Posts

Any wizards of this language out there that can help me with an issue?

Wondering if you can help?

I am currently working on a script that allows an admin to upload a file to the server. When the file uploads it takes information from the form and stores it in the database, to later allow users who have permissions to download it.

I have managed to make the form:

Select File To Upload


 File






Select Users Who Can Download The File



<?php
$useruploadids = mysql_query("SELECT member_id, firstname, lastname FROM members");
while ($row = mysql_fetch_assoc($useruploadids)) {
    $user_id = $row['userid'];
    $firstname = $row['firstname'];
    $lastname = $row['lastname'];
?>
"><?php echo $firstname ?><?php echo $lastname     ?>
<?php } ?>



Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Sign in to follow this  

×
×
  • Create New...