I am designing a site for ship maintenance. For now I have 3 files:
.install the table schema is automatically installed into the database. It has information like ID, shipname, officer name etc.
.module I have created a form in which you input shipname, officer name, subject, etc.
My problem is this: When I input my data in the form, the data is stored into the table and I display it into to a table (
Besides that I want to have a page created every time a user inputs the form and that the page title is taken from the subject.
It's like when you create new content like a story, you input title, content, and some other data. Then when you click submit you are redirected to the newly created page.
Currently I have the form which data is stored into a table, and I get that information and show it into a table (using
db_select). How can i create the above?
Filling the information
now when i input the data i get my inputed data showned in this link : content/repair_of_main_fuse_box_wiring
So i have a PAGE where i can go to
Now my situation right now is this :
I have created the same thing in php as the first picture . But i can only show my data like this :
Now i have the data but i have no link for every specific row in a table. I dont have a page a can go to for that data.