CodeSpeedy header image

CodeSpeedy

A Place Where You Find Solutions In Coding And Programming For Java, PHP, HTML, CSS and JavaScript.

Login Register

How to delete or remove array element in PHP?

By Faruque Ahamed Mollick

We can delete or remove array element from an array easily. Using the unset() PHP function, we can delete or remove one element from an array. We can delete multiple array elements.... Read More

Calculate the distance between mouse and element in jQuery

By Faruque Ahamed Mollick

In this tutorial type post, we are going to calculate the distance between mouse and an element. We are going to measure the distance of mouse cursor from the element and show it o.... Read More

How to remove the last comma from a PHP foreach loop?

By Faruque Ahamed Mollick

Using PHP foreach loop, we can list the items of an array easily. Also, sometimes we may need to give comma signs after each array. But in English grammar, we should not place the .... Read More

Detect the browser in PHP

By Faruque Ahamed Mollick

In this tutorial, we are going to see how to detect the browser of a user using PHP programming language. Here we are going to create our own custom PHP function which we can call .... Read More

How to set a timer in jQuery?

By Faruque Ahamed Mollick

In this post, we are going to learn a simple yet useful jQuery trick. here we are going to see how to set a timer using jQuery. In a project, it may be needed to set a timer which .... Read More

Convert Unix timestamp into a formatted understandable time string in PHP

By Faruque Ahamed Mollick

Often Unix time format is used in programming related work. But this type of time or date format is not understandable by the human. So it should be converted into a human readabl.... Read More

Open and close Bootstrap modal with jQuery

By Faruque Ahamed Mollick

Bootstrap modal can easily open and close just with a button. Below is an example: <button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#theModal".... Read More