Dynamic PHP based MySQL data readout with HTML output

This brief article gives a step-by-step description on how to dynamically read data coming from a MySQL database and how to both visualize and edit that data using HTML table and form markup. How our data management markup will look like Let’s assume we want to build a Comic management database application handling data like this: If a user clicks “Delete” the […]

How to connect to MySQL using PHP

This brief article describes step-by-step how to connect to a MySQL database using PHP. If you want to provide content coming from a database, you will at least have to know the following methods: mysql_connect($server, $user, $password) — opens a connection to a database server mysql_select_db($database_name) — chooses a database within the database server mysql_query($sql_query_string) — […]