Hi there, I am in need of some guidance! I've tried looking around online for some tutorials although nothing has come up...
At the moment, I have created a MySQL database, with a table and 10 fields in it, what I want to be able to do is to display the data just from one page as it were, so I don't have to create lots of pages with something like the following in it:
but rather want to have a dynamic way of showing the data
e.g. /database.php?id=x
where x is the id of one of the entries.
I then want to be able to display the rest of the fields in the same manner, using a template.
Like I said, if anyone could point me in the direction of a decent tutorial that they know of, that would be great! Thanks, Chris.
At the moment, I have created a MySQL database, with a table and 10 fields in it, what I want to be able to do is to display the data just from one page as it were, so I don't have to create lots of pages with something like the following in it:
PHP:
$db = @mysql_query("SELECT * FROM table WHERE id LIKE x");
but rather want to have a dynamic way of showing the data
e.g. /database.php?id=x
where x is the id of one of the entries.
I then want to be able to display the rest of the fields in the same manner, using a template.
Like I said, if anyone could point me in the direction of a decent tutorial that they know of, that would be great! Thanks, Chris.
Last edited: