Category: PHP Snippets

As we know the date and time are used in most of the functions of a project, in some we need to sort data by the creation date and in others, we may have to show date with data, there can be an infinite usage of dates in different formats while developing a program.
So today PHPHurdles is presenting tutorial on PHP DATE and TIME where we will learn to extract or format the date and time in PHP.

CORE PHP Datetimeformat PHP Snippets Quick Tips

As we know Google Reviews are considered as one of the most authenticated tools which have a direct impact on your brand identity. Today we have taken the initiative to educate you on how you can request Google to display your business reviews on your site with help of listed address and an API Key.

Codeigniter CORE PHP PHP Snippets Quick Tips

Today we are going to introduce you with Facebook API’s. There are various Facebook API’s available which lets you pull Facebook data and display on your own website Today we are going to tell you about how you can display your Facebook page Reviews on your website with proper authorization.

CORE PHP PHP Snippets Quick Tips

We as developers usually get complaints from our client that the Media files are consuming lot of space than they should on the server resulting in choking the bandwidth of the server which in turns make website slow to load the main reason for this is “Uploading of huge media files especially images by the users on the website”. Now there are 2 scenarios by avoiding uploading of huge images on the website.

CORE PHP PHP Snippets Quick Tips

Today PHP HURDLES presents the basic but highly efficient tutorial on how you can rewrite your project URL by using Htaccess file. Htacess do wonders when it comes to extending the functionality of a project without affecting the internal logic or coding part of your website.

CORE PHP PHP Snippets Quick Tips

I recently got stuck in a situation where in order to access the API I had to send the post request in JSON format to the server I searched for hours got many hacks but unfortunately, none worked but finally, I got success when I used CURL library to send the JSON request to the server.

CORE PHP JSON PHP Snippets Quick Tips

We have experienced that the demand of performing operations on the page without reloading it is considerably increasing day by day. Ajax is one such technique for getting records dynamically on the same page without refreshing the entire page. It allows us to update asynchronously by exchanging the data with the server behind the scenes.

Ajax CORE PHP Jquery PHP Snippets Quick Tips

As you now the Website Contact form comes on the best priority for any organization as this may lead to establish one to one communication with their target audiences.

Here in the article, where we make you learn about “How to create a simple contact form in the website and applying validation over it using jQuery with PHP”.

We have created a simple HTML form with four fields- User Name, Email id, Contact No, and Message box for the query.

CORE PHP Form Validation PHP Snippets Quick Tips

Taking our earlier tutorial  JQUERY DATEPICKER RESTRICT DATES IN SECOND DATE FIELD BASED ON SELECTED DATE IN FIRST DATE FIELD as a refrence , we received a lots of comments on it where our fellow developers have situations where they want to disable past dates or upcoming dates from Datepicker.

So today we are here with a Snippet in which we will learn how to disable past dates or upcoming dates in PHP Datepicker.

CORE PHP Datepicker Jquery PHP Snippets

Hey Mates,

We are here with the fix to the most recent problem we faced while working on a CRM i.e TYPE CASTING Problem.

For those who are not aware what, TYPE CASTING is let us suppose a scenario where you have by mistake or intentionally used a Varchar Data type field for what supposed to be the Integer/Decimal field.

Codeigniter PHP Snippets Quick Tips