Latest Posts

Code Snippets
John Morris

Prevent XSS Attacks. Escape Strings in PHP

Here’s how to prevent XSS attacks by escaping output in PHP: [evd_youtube video_id=”pc0V9hJpE54″ playlist_id=”PLrG78JjvL7hWah18gU57tCtbFOvsxl9pp”] Here’s the code I used in the video: What Is XSS?

Read More »
Code Snippets
John Morris

Simple CSS Button Styles Tutorial and Code

Here’s how to create some simple CSS button styles: [evd_youtube video_id=”XWnPjG3AP1o” playlist_id=”PLrG78JjvL7hWah18gU57tCtbFOvsxl9pp”] Here’s the code I used in the video: If you get value from

Read More »
Code Snippets
John Morris

PHP Try Catch Error Handling

How do you PHP try catch blocks to efficiently handle errors? Here’s the answer: [evd_youtube video_id=”zBdJMW0_1RA” playlist_id=”PLrG78JjvL7hWah18gU57tCtbFOvsxl9pp”] Here’s the code I used in the video:

Read More »
Form Snippets
John Morris

A PHP Script to Search a MySQL Database

Here’s a tutorial video and script you can use to search a MySQL database using PHP: [evd_youtube video_id=”546sFEHUS_k” playlist_id=”PLrG78JjvL7hWah18gU57tCtbFOvsxl9pp”] Get the source code as a

Read More »
Close Menu