Blog

Author Archive


Using the mysqli_real_escape_string() and md5() Functions to Escape and Encrypt a Submitted Password
Posted on June 19, 2015 in MySQL, PHP by Matt Jennings

Example code:

$esc_sec_password = mysqli_real_escape_string($connection, md5($_POST[‘password’]));


Using the mysqli_real_escape_string() PHP Function to Fight MySQL Injection
Posted on June 19, 2015 in MySQL, PHP by Matt Jennings

To prevent hackers from entering MySQL queries into forms that will do damage to my database, I need to Read more


Convert a NOW() Value Insert by MySQL in a Different Format with PHP
Posted on June 19, 2015 in MySQL, PHP by Matt Jennings

When doing a MySQL insert statement using NOW() function, a date will be update with a similar format to …

Read more


Sample PHP and MySQL to Insert Data from a Field Field into a MySQL Database and Display It on Another Page
Posted on June 19, 2015 in MySQL, PHP by Matt Jennings

/*
Set ‘name’ and ‘quote’ input/text area session variables
if …

Read more


Snippet of How to Insert Data from a Form Field into a MySQL Database Using PHP
Posted on June 19, 2015 in MySQL, PHP by Matt Jennings

/*
Set ‘name’ and ‘quote’ input/text area session variables
if …

Read more