OgnjenOC / Globe-Bank

Web Application using PHP with MySQL
0 stars 0 forks source link

Show page information clicked #4

Open OgnjenOC opened 4 years ago

OgnjenOC commented 4 years ago

When a user clicks on the specific page name from the navigation list content display, the full page information data being fetched from a database

OgnjenOC commented 4 years ago

public_navigation.php file is being modified on line 23 were tag link goes to index.php. This line is change to send the id URL parameter in order to read an id of the selected page from a database. It is equal to a dynamic value from a nav page.

OgnjenOC commented 4 years ago

On the index.php file we read the value from a database of the page id selected. To accomplish it we get the id of the nav page a send it to an function query to get the data of the corresponding id from a database. When data is being fetched it is displayed on a page