PHP SCRIPTS

A collection of handy functions for various tasks. Feel free to redistribute. If you find them helpful, mentioning my name and the site in your code would be greatly appreciated.

Database CRUD Operations (PDO)

Simplify your database activities with this PHP Data Object class. It includes methods for :

  • SELECT
  • INSERT
  • DELETE
  • UPDATE

designed for instant use as a PHP Data Object.

Checkboxes Management

A function to generate checkboxes for selecting options from a provided array.

Drop Down Function

Often, programming involves creating drop-down menus, and managing states or other options can be challenging. I've crafted two functions - one based on arrays and the other on database entries - to make this process painless.

Swap / Switch CSS file

Load different stylesheets for special occasions like Christmas or birthdays, yet retain the option to revert to the original CSS. Here's a PHP solution for seamless style changes.

Database CRUD Operations (MySQL[i])

Simplify your database activities with this MySQLi class for methods:

  • SELECT
  • INSERT
  • DELETE
  • UPDATE

designed for instant use.

Registration Agreement Checkboxes

Enhance your online store's Registration Form with custom agreement checkboxes. Define mandatory checkboxes for new account registrations, and include double password validation for added security.

Cookie Jar

Display an image of a cookie and link it to the Cookie Policy page in the Admin area. Users can either dismiss the cookie info for seven days or read the policy.

Simple Contact Us Widget

A straightforward form for sidebars or footers, featuring fields for name, email, and a message. Emails are sent to the WP Admin address. You can also embed the form in posts or pages using the shortcode [gbsimple_contact_us_widget style="color_filter"], with available color filters: red, green, blue, white, or black.

Scroll to Top
Wordpress I've lately been using:
  • Wordpress
  • PHP
  • CSS
  • jQuery

Summary: Font-end and Back-end developer, also designer with 25+ years of experience. Currently based in Poland. Eligible to work in the US (US Social Security Number holder) for any employer on W2 / 1099 basis. Utilizes both technical skills and designing aptitude. Lived and worked in Europe, Australia and North America.

PHP CMS HTML5 CSS3 RWD OOP MySQL PDO JS jQuery JSON GIT Bitbucket GitHub Gulp