
Search In
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to use json_decode() function in php ?
So, Firstly let us know what is the use of json_decode() function ?
So json_decode() function is basically used for converting JSON string
Hello Reader's If you want to genrate password in PHP then you can use the code as below:-
you just have to try this, use strlen instead of count, because count on a string is always 1:-
function randomPassword() {
$alphabet = 'abcdefghijklmnop
Hello Reader's! if you want to short a given string on fixed number of chars then php offers you many ways. Below is one of them, you can use this code for the same.
Lets see the example below:-
$sting_given = "1234567890134667896abcdtiABCDEFGHIJK
To create a random string of x characters using defined string of possible characters we will first of all define a function which will return a random string of length that you have passed as a parameter to the function. The script is given below:
Hello Reader's ,
Today on My blog, We will discuss about the STRSPN().
What is STRSPN()?
The STRSPN() function compares two string to determine how closely related they are to each other. This is accomplished by returning the length of the firs
My objective for posting this blog is to tell how do we convert shell scripting code to php. In some cases we need to use php code instead of executing shell script. Therefore I am writing the blog which may help someone to understand how do we conve
Hello readers,
This blog is to help you to learn how to generate PDF using Apache's FOP in Java. Apache FOP ( Formatting Object Processor ) which uses XSL-FO to create PDF file of our document.
Here is a simple ex
