Data needs to come from somewhere.  On the next page you will use code to insert a record to a table.  The problem with that is you will need to re-write the code to put more data in.  On the second page you begin to experience what PHP and MySQL can do together when you use a form to collect the data to be inserted.