Jump to content

Database setup for eventual page linking


rawky1976

Recommended Posts

Hello

I'm building a doument management site. Supposing I have a MySQL table with fields for document name and document description. An upload page copies the file via an upload script and file form control to a folder on the webserver (IIS).

An SQL Insert command enters into the table above whatever name and description the user has given. Next a search results page displays information from the table in a dynamic repeating table. In this table I want the doument name entry to be a link to the document itself.

Currently the user must enter the actual document name, including its file extension or the link will not function properly.

Is there a better way to go about all this?

Thanks, Mark
Link to comment
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.