Chandu yadav has Published 1163 Articles

How to check if a MySQL database exists?

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 14:05:49

4K+ Views

The schema_name command is used to check if a MySQL database exists or not. The syntax of this command is as follows −select schema_name from information_schema.schemata where schema_name = 'database name';Now, the above command is used to check whether the database exists or not. The query for that is as ... Read More

Update a column value, replacing part of a string in MySQL?

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 13:59:31

1K+ Views

To update a column value, the update command as well as the replace method can be used. The steps to better understand these are given as follows −First create a table with the help of the create command. This is given as follows −mysql> CREATE table DemoOnReplace -> ( -> ... Read More

How can I add video to site background in HTML 5?

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 13:58:52

362 Views

Add a button to play or pause the video. Then we have styled the video to a hundred percentage height and width so that it covers the entire background.The following is the code snippet to set video as a site background in HTML5.        Your browser does not ... Read More

Create a Vertical Button Group with CSS

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 13:37:30

1K+ Views

You can try to run the following code to create a vertical button groupExampleLive Demo                    .mybtn .button {             background-color: orange;             border: 1px solid green;             width: 120px;             color: white;             font-size: 14px;             padding: 10px;             text-align: center;             text-decoration: none;             display: block;          }                              Result          Result          Result          Result          

How to stream large .mp4 files in HTML5?

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 13:33:51

729 Views

Video files on the web sometimes need to be encoded in a special way in order for them to be played while downloading. In order for flash-based videos to work, data should be moved from the end to the start of the stream. A program called mp4 FastStart can do ... Read More

Is it autofocus=“ autofocus” or autofocus in HTML5?

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 13:31:55

68 Views

As stated by w3.org −The autofocus attribute is a boolean attribute. The presence of a boolean attribute on an element represents the true value, and the absence of the attribute represents the false value.If the attribute is present, its value must either be the empty string or a value that ... Read More

uksort() function in PHP

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 12:45:49

32 Views

The uksort() function sorts an array by keys using a user-defined function. It returns TRUE on success and FALSE on failure.Syntaxuksort(arr, custom_function)Parametersarr − The specified array.custom_function − The comparison function. It must return an integer less than, equal to, or greater than zero if the first argument is considered to ... Read More

C++ Program to Implement Circular Singly Linked List

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 11:53:13

11K+ Views

Circular singly linked list is a type of data structure that is made up of nodes that are created using self referential structures. Each of these nodes contain two parts, namely the data and the reference to the next list node.Only the reference to the first list node is required ... Read More

acos() function in C++ STL

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 11:43:36

1K+ Views

The acos() function returns the inverse cosine of an angle given in radians. It is an inbuilt function in C++ STL.The syntax of the acos() function is given as follows.acos(var)As can be seen from the syntax, the function acos() accepts a parameter var of data type float, double or long ... Read More

How to specify the number of columns an element should be divided into with CSS

Chandu yadav

Chandu yadav

Updated on 24-Jun-2020 11:38:36

206 Views

To specify the number of columns an element should be divided into, use the column-count property.You can try to run the following code to implement the column-count property with 4 columnsExampleLive Demo                    .demo {           ... Read More

Advertisements