This function can be used to split large file into a number of smaller files.
The build-in function REVERSE just reverse the characters of a word or text. It does not reverse the word order of a string. So, If you want to reverse the order of words in a string, this simple t-sql function can be used. It will return reversed word order of given string.
I found one of the cool function for wordpress users. This function will automatically sets the first image of the post as default featured image, if no image was chosen. But you can still choose any image if you want.
When you fetch the data from database, you may get hundreds or even thousands of rows. Showing all of those rows in a single page is not a good idea. You should definitely split that records into multipal pages. That is called pagination. Normally, developers use the sever side language such as VB.NET, C#, PHP to generate it. However, different developer use different styles of pagination with different languages. T-SQL can also be used to draw paging control. This is the SQL Server User-Defined Function to generate it.
A PHP script display the server's current datetime.
The code will time how long it takes to for the PHP code on the page to process.
A PHP script to display the user's IP Address. Just palce this code wherever you want the IP Address to display.
This is one of the useful function in my code bank. This function can be used to find the elements by css class name. If you don't use jQuery, it will be definitely helpful for you.