Export an array to CSV in PHP

I was working on creating a small code that would help me export any array into a CSV file.

Securing a site POST, GET, REQUEST on PHP

I had a major security issue today. I did some tests on a project and found out that the an code "><script>alert(1)</script>...

How to programmatically create a Woocommerce coupon

Today i had to create a system that would create different coupons for a site in Woocommerce. The idea...

How to Add WooCommerce Custom Text Field for all Variations

I need it to add a custom text field for every variations in WooCommerce products. I figure out a code that helped...

Get all WooCommerce product variation id

Hi. I what to share with you a small code that helped me to get all product variantion ID from Woocommerce.

Calculate Age of somebody in PHP

If you wish a function to calculate age of a person/car or whatever you want you have come to the right place. The following...

Show A List Of Days Between Two Dates in PHP

The following function will show you a list of days between two dates. The following code will require to setup a start date on variable...

Get time formatted day-month-year in php – PHP snippet

If you wish to format a date into a different format in PHP is very simple. All you need to do is look bellow....

Twitter Style “Time Ago” Dates on PHP

The following function will show the time like Twitter with that info ago, like 9 hours ago: function _agotime($tm,$rcs = 0) { $cur_tm...

Get current time formatted day/month/year in php – PHP snippet

If you wish to format the current date in format day/month/year just copy the function bellow and use it where you want. function nogettime(){ ...

Stay connected

13,613FansLike
0FollowersFollow
0SubscribersSubscribe

Latest article

Best WhatsApp Call Recorder Apps: A Comprehensive Guide

In today's fast-paced digital world, WhatsApp has become an indispensable communication tool, connecting billions of people worldwide with its user-friendly interface, cross-platform...

Best Truth Social Android Apps

Truth Social is a social media platform created by former US President Donald Trump. It was launched in February 2022 and is...

Best Browsers to Use on iPhone in 2023

With the widespread use of smartphones, having a reliable and user-friendly web browser is essential for accessing the internet on your iPhone....