Tempusfugit UK

MySQL Database

The plan here is to use a database to store comments, feedback or blog-type text. Visitors can browse these comments and add/edit their own.

I have a database and I can add tables and data using phpMyAdmin.

Connecting to database

This is taken by example from the W3C Schools site.



- This selects data from MyGuests table I created manually.

The connection code is common(ish) in the two examples above.

Displaying a comment field

I need to create a table for this.

Links

External Sources

MySQL Database