1. Home
  2. Database Software
  3. Files In Mysql Database And Html Pages?

Discuss in my Forum

Files In Mysql Database And Html Pages?

By admin Posted in: Database Software

Im building a website using HTML and CSS ( I dont want to use CMS) and i have documents that i want stored in a MySQL database so they if a link is clicked on my website the document is called and displayed on the website (Im not sure on the format of the document..ie PDF)
Does anyone know of any PHP script or similar that can do this?

  1. Garren Says

    I think there is an issue in your question, let me see if I can clarify this, and answer your questions as we go..
    MySQL is a Database Language, it is not synonymous with pHp – meaning; adding a pHp script to your page in-no-way automatically completes the MySQL database writing for you.
    This must be done on the Back & the Front ends in order for the communication to take place.
    If you are JUST displaying Files, and you don’t want to get into doing some MySQL work in order to deliver the pages, there’s a much simpler way to achieve this.
    You can use AJAX. Ajax will dynamically modify an object (determined by ID) and it’s content inside of it.
    You can find exactly what you are looking for Here : http://www.dynamicdrive.com/dynamicindex…
    Please read thoroughly. It is not a terribly difficult source to understand.
    If this is not the type of effect you wanted to achieve, and still wish to use MySQL, please respond to this message, and I will go further into detail for you.

Leave a Reply

You must be logged in to post a comment.

More Interesting Things

©2011 Softwares Reviews, All rights reserved.