
Search In
In magento, sometimes you need to call block in magento phtml to get the content of block. Here is an easy way to call static block & custom block in any template file.
1. Call Static block content in magento phtml file.
You can easily
What is the strrev() function?
strrev() function is uses for reversing a string. strrev() function is also used for reversing a number.
In the given below example you can easily understand the use of strrev() function
<?php
//here call the str
What is define() function ?
The define() function basically use for creating a constant.
It depends on 3 parameters:
1-name-> this is the name of the constant.
2-value->value of the constant.
3-case_insensitive-> define constant name an
In c#, there are different ways to implement the functionality,Here i am going to explain this functionality in the most easiest way. Let's try to understand and then follow the same in visual studio installed in your ma
Hi Reader's,
Welcome to FindNerd, today we are going to discuss What is process to get file extension in PHP ?
There are many ways for getting the file format or extension of any file.
In bellow example you can see how to get the file format/extens
Sometimes we need to make AJAX call in our Web page. The purpose of AJAX call is that you want to get/submit data without refreshing your page or you want to submit your form by calling an API. We can do this very easily by using ajax() method of jQu
The strtotime() function parses an English textual datetime into a Unix timestamps
(the number of seconds since January 1 1970 00:00:00 GMT).
Syntax of strtotime() Function
strtotime(time,now);
you can see belloe example:
<?php
//here call
Hello Reader's If you have some arguments that you want to pass into function and elements of that array you pass will then be received by your function as distinct parameters.
For instance, if you have this function :
function test() {
var_dump(
The code example of this keyword in Javascript
var fullname = 'David';
var obj = {
fullname: 'john mars',
prop: {
fullname: 'Brett',
getFullname: function() {
return this.fullname;
}
The code below will help you in declaration of completion handler and how to call the completion handler in swift.
To declare a completion handler in swift use the line :
typealias completionHander = (sucess: Bool)->Void
//decalration of co
