How to Ajax Pagination in PHP

Pagination is a crucial part of any website, especially if you have hundreds of database records that you want to group and display them as pages, and in modern days with the help of Ajax you can create pagination that doesn’t require any page reloading, users can stay in same page and navigate through vast […]

How to create new folder using php

In this tutorial we will create new folder using php. i have used the mkdir command to make a folder, however i would like it to make a folder based on the username of the person who is currently logged in. You may also like How to check a folder doesn’t already exist using php and How to […]

PHP fprintf() Function

The fprintf() function writes a formatted string to a specified stream resource. Returns a formatted string formatting, using the inputs to dynamically input their values into the formatted string using a preset set of rules, specified below. You may also like How to calculate total price using keyup function in jquery or javascript and How to Price Range […]

PHP compact() Function

The compact() function creates an array from variables and their values. Note: Any strings that does not match variable names will be skipped. Can be a string with the variable name, or an array of variables. Multiple parameters are allowed. Parameter Description var1 Required. Can be a string with the variable name, or an array […]

AngularJS Filter Example: Lowercase And Uppercase ANgular_JS

AngularJS Filter Example: Lowercase And Uppercase

Lowercase This filter takes on a string output and formats the string and displays all the characters in the string as lowercase. <!DOCTYPE html> <html> <head> <meta chrset=”UTF 8″> <title>Event Filter</title> </head> <body> <script src=”https://code.angularjs.org/1.6.9/angular-route.js”></script> <script src=”https://code.angularjs.org/1.6.9/angular.min.js”></script> <script src=”https://code.jquery.com/jquery-3.3.1.min.js”></script> <h1> Script guru Global Event</h1> <div ng-app=”App” ng-controller=”DemoController”> Tutorial Name : <input type=”text” ng-model=”tutorialName”><br> <br> This […]

curl request in udemy api using php and export data in excel file

To make any calls to Udemy REST API, you will need to create an API client. API client consists of a bearer token, which is connected to a user account on Udemy. To send authenticated requests, provide the client_id and client_secret values as a base64 encoded HTTP Authorization header. You may also like PHPExcel export mysql […]

PHP krsort() Function

The krsort() function sorts an associative array in descending order, according to the key. Tip: Use the ksort() function to sort an associative array in ascending order, according to the key. Tip: Use the arsort() function to sort an associative array in descending order, according to the value. Parameter Description array Required. Specifies the array to sort […]

PHP array_diff_assoc() Function

The array_diff_assoc() function is used to compare an array against another array and returns the difference. Unlike array_diff() the array keys are also used in the comparison. This function compares the keys and values of two (or more) arrays, and return an array that contains the entries from array1 that are not present in array2 or array3, […]