Jamie Harrop
01-22-2005, 10:42 AM
I am trying probably the most simple thing that can be done with PHP & MySQL together.
That is, allow for the visitor to fill out a form, have the contents stored in a database and then have the contents of the database displayed on a page.
I have followed two tutorials, completing them both on my local machine with phpmyadmin and both have received parse errors. It certainly isn't a mistake by me because all I am doing is copying and pasting the code it gives me.
So, would someone be so kind to show me the SQL needed for the database and the PHP needed for both submit_message.php, store_message.php and display_message.php or point me to a tutorial they know that works so I can see if it is me who is making a mistake.
That is, allow for the visitor to fill out a form, have the contents stored in a database and then have the contents of the database displayed on a page.
I have followed two tutorials, completing them both on my local machine with phpmyadmin and both have received parse errors. It certainly isn't a mistake by me because all I am doing is copying and pasting the code it gives me.
So, would someone be so kind to show me the SQL needed for the database and the PHP needed for both submit_message.php, store_message.php and display_message.php or point me to a tutorial they know that works so I can see if it is me who is making a mistake.
