|
Ok, so here it goes.
To make a simple page like this you will need to have the following:
1) a database you can access and create/edit tables
2) a good understanding with database interactions, connection strings etc
3) a good knowledge of java/PERL/ASP/JSP/PHP <-- any of these will work with what you want to do.
Lets make an example of guns, since I like guns I have a good knowledge of them.
First you need to create a table with the following criteria:
1) a identifier to know what is what
2) a field where there is a explanation
To use the example with this table I would set one up like this:
Table name: guns
make: varchar2
model: varchar2
caliber: integer
imgSmall: varchar2
description: clob
Next you will need to create a script or a page that will read the information from this table and put it into the correct spot on the page.
For example:
Img of the gun imgSmall link
Here we have a Springfieldmake 1911 model. This gun was manufactured in 1910 with…description
Edit description button
When anyone clicks on this edit description button you will have the page grab the information from the database again, but instead of displaying it as static text on the page, it will put the information (for the description) in a text box so the user can edit this description.
When the user clicks the submit button, your page will re-write the description back into the database in replace of the old description. So to use my example, I found something wrong with the description. I click on the edit button and I get to edit the text inside a text box.
“I change the current description to: This gun was manufactured in 1911 with…” I click the Submit or Change button, and your page will write what I changed into the description field of the table. When the page reloads the changes will be reflected and I will see the static page with the correction.
I hope this helps, if you have any further questions please let me know.
This is a lot to explain so if I missed a step or forgot something please ask.
Wesley
|