
Search In
You will face any situation in php where you want to display all the images in a random manner. Below is the code which will display all the images in random manner with the help of srand() function which seeds the random generator. It store all y
To display images from a directory randomly first of all we will give the path to the directory. Then we will select the directory. After that we will open the directory and will get all the files of the directory.
<?php
$Image_Path = ""; // Roo
FROM_BASE64('string')
FROM_BASE64 function in mysql is used to decode the encoded value. The value which is encode with the BASE64 rule to encode by the MySQL function TO_BASE64, is decoded by this FROM_BASE64 mysql function.
The argument which is p
wordwrap() Function is a string function in which it wraps a string in new line, after a specific length.
Syntax
wordwrap(string,width,break,cut);
In the syntax the parameter string is to break up into lines , the width is the maximum line width
Updating a column value using Update Statement:
UPDATE statement is used to change the value for a column or to change multiple records using a condition. It is a data manipulation language command which are used for managing data.
Syntax:
UPDATE
Group By :
It is used to group the result-set by one or more column. It is used in conjunction with aggregate functions provided by Structured Query Language . If order by is used then Group By must come before Order By clause.
Syntax1:
SELECT col
Thread pool basically manages the pool of worker thread or it manages the collection of runnable and worker threads execute Runnable from queue.
Here is an example of creating threads 20 times and calling its runnable methods like this :
public cl
We know that serialization is the process that converts java objects or data into bytes stream on one end and on other end we deserialize it that means convert bytes into orignal data.
Serialization means to save data after serialization but
HI Guys,
Some times we want to know that what SQL operation is running on a particular page or a event, then we have to debug our code base and we get the result, but it's time taking process to debug code line by line and as well as some time w
Partial View in MVC is used when we want to use section for the master or the main page again and again.
It is just like a user control that is used to display or get data in the view that we want.
So as a beginner, you first need t