Home >

Blog Archives

How To Populate A DIV via an HTML SelectBox, PDO, and jQuery

Imagine you have a database full of information, and you want to let users browse that data in the simplest way possible. Say you have a wide selection of data surrounding song titles & their artists, and you want to create a simplified search system that lets users select a song and instantly see who that song was by. You ...

Read More »

How To Validate Form Data With PHP

Whenever you’re dealing with online forms it’s important to perform proper validation on the data that is submitted. Form validation ensures that the user will enter valid data on the form – minimizing your chances at possible SQL injections. PHP lets us¬†perform server-side validation, and lets us display the appropriate error messages if a user enters incorrect values. Throughout this ...

Read More »

Get A Users Gravatar Image Via PHP

Gravatar’s have been popular for years now – and to date they’re integrated across a plethora of websites – serving over 8.6 million avatars every single day. With that said there are also a ton of plugins available for most blog and CMS scripts; however what if no plugin exists for our website, or we simply want to do it ...

Read More »

Basic PHP Template System

PHP has many different template solutions, and the beauty of them all is how simple it makes maintaining and changing your website. Back in the day when everything was handled with static HTML files Рif you needed to add a new link to your main menu Рyou found yourself editing dozens if not hundreds of different files.  With ...

Read More »

Display Page Loading Time

Have you ever noticed that lots of websites feature some text towards the very bottom of a page saying “Page took x.xxx seconds to load”? It’s a pretty simple thing to make and gives your site something that we all love … stats! So today we’ll take a look at how to accomplish this through the use of PHP. First ...

Read More »

Like every other website, this site uses cookies to analyze our traffic. Cookies may also be utilized by our advertisers and partners. By using this website you agree to the use of said cookies. More Information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings, continuing to navigate past this message, or you click "Accept" below then you are consenting to the use of cookies on the Rapid Purple website.

Close