Sun Dial Menu

MySQL Connection Test Page

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.

Top Menu



Top Menu

Site design by Tempusfugit Web Design -