PHP SCRIPTS

Few useful functions I have written. Feel free to redistribute.
If you mention my name and the site somewhere in your code, that would be appreciated.

Database CRUD Operations (PDO)

Simple class to help you manage your database activity like
- SELECT
- INSERT
- DELETE
-UPDATE
written for instant use as a PHP Data Object.

Drop Down Function

Quite often, while programming / coding, one is in need of using a Drop Down Menu. We all know that merely listing all states in the US can give us a major headache, not mention the edition process when we need to somehow figure out what State or what other Option was chosen in the first place.

So, I have written two simple functions that will take this pain off of your shoulders. Two, because one is based on an array and the other one on a database entries.

Here we go:

Swap / Switch CSS file

Ever wanted to load a different stylesheet for a season's greetings, like Catholic's MERRY CHRISTMAS, or your birthday, or 4th of July - yet still have an option to re-load the CSS back to its original state?

Here's one PHP's way of doing so:

Database CRUD Operations (MySQL[i])

Simple class to help you manage your database activity like
- SELECT
- INSERT
- DELETE
-UPDATE
with usage of regular MySQL sripting.

Scroll to Top
Python I've lately been using: