sample code: PHP and MySQL - phpFormMailer 

PHP code examples with database connectivity

PHP code examples with database connectivity
sample code

Just examples of PHP code, linking to your MySQL database and JavaScript.
1. Home | 2. The Database | 3. Add a User | 4. Login | 5. Get your db online

PHP code examples with database connectivity

All code updated April 2014, now uses PHP/PDO for database connectivity

3. Add a User

Below is the current single record within the database:

The username: fdgghgfhgf
The password: dfgdfg

Add your own username and password, enter your details below and click save.  DO NOT use valid details as the information you enter will be displayed above and the next visitor will be able to view them as you are now.

Add Your test username:

Add Your test password:


When you have added your own username and password move onto the Login page to test it!


Click here to view the PHP and JavaScript code used for this page, or download the free zip here

UK reseller hosting
start your own web reseller business

AC.UK web hosting
UK academic domain names and web hosting

GOV.UK web hosting
UK public sector domain names and web hosting
GOVHost.UK is a MySQL database and PHP FREE code example site hosted with:
Janet approved Registrar for AC.UK and GOV.UK domain names - Seiretto Ltd Copyright 1996-2015.  All rights reserved.

sample code: PHP and MySQL - phpFormMailer