// Adding entries to a mysql database - I'm using my table created with a script on my scripts page as an example. Firstly after setting up your database, you need to add data to it. Create a form with the relevant fields you require. i.e If you created a table called 'location' in your database you will need a field in your form called 'location'.. An example form is below. -------------------------------------------------------------------------------------------- Post News
ADD A HOUSE TO THE DATABASE
House Name & Address :
Contact :
Image :   (View all House Photos) Upload a house photo

Details :


Town :
Area :
Post Code :

------------------------------------------------------------------- // You will notice that the form uses an action of add.php this is the script that actually populates the field in your database and is shown below. ------------------------------------------------------------------- Post News
View Entries ------------------------------------------------------------------- // You may notice that the script above uses an include file 'config.php' this just contains all the database connection details. An example of such a script is also on my scripts page http://www.stevesims.com/scripts.htm. // I have also got some links to adding an image. This does not add an image to your database just to a directory on your server. I will add this script to my scripts page in due course.