in php if you want to detect your browser name thne you can use below code. A browser is a application where we can open our web page. For More Info you can CLICK HERE
Discy Latest Questions
for convert number to words use code:
in php you have an a long string then you want to give a space after a specific length then you can use below code. Use Below Code : Output : 1234 1234 1234 1234
in php if there is a long interger after a decimal. if you want to break that on a specific number then you can use below code. Use This Code :
Some time we trying to change on my PHP website but no change found but code is ok. So that moment we are using cache header to prevent browser cache put code on the head section
It is very easy to upload file to the server.The below following HTML code below creates an uploader form. This form is having method attribute set to post and enctype attribute is set to multipart/form-data. plase create a folder name ...
Loops are used to repeat a block for specific number of times untill a certain condition find.There are four different types of loops in php. 1. while — it is used through a block of code until the condition is true.
it is used to store a complex array in the database from PHP. There are two popular methods of serializing variables. serialize() unserialize() 1. serialize() : The serialize() converts a storable format of a value. The serialize() function accepts a single parameter. 2. unserialize(): it converts to ...
CKEditor is very common editor. It is very simple to use. We can easily use this in our web application. Use Below Code : CK EDITOR OUTPUT :
Cutsom helper is used to call a function in multiple file at a time.It Is very simpe and easy method to call a function in your web appllication. Use Below Code : Step 1 : Create a folder Helpers in app directory.
In a programming language, a constant is a value that never changes. The other type of values that programs use is variables, symbols that can represent different values throughout the course of a program. Constants are also used in spreadsheet ...
It is an easy and simple method for translate text or string from one language to other language in php. Click here to download zip file Output: