
Search In
Drupal Provides you lot of option to creat a unique home page or say site front page. This could be achieved by number ways bdefined below.
Firstly Access the /sites/all/theme[active theme], copy a page.tpl.php page and paste it in same directory
Hello Reader's,
Today we will discuss the Pagination in CakePHP 3. Pagination is a very useful part of any application where you can manage multiple record in a single page with the help of Pagination. Pagination in CakePHP is provided by a compo
Using default pagination helper in cakephp.
<div class="paginator">
<?php echo $paginator->first(' First ', null, null, array('class' => 'disabled')); ?>
<?php echo $paginator->prev('Previous ', null, null, a
when i execute this file.php only it will upload, when i run in Mainlayout.php its not uploading. Below file is File.php, its to upload csv file.. Canone help me plzzzzzzzz
<form name="import" method="post" enctype="multipart/form-data"&
Find the number of words in a string:
In PHP, to find number of words in a string a function str_word_count() is used. It includes three parameters:
string: It a required parameter which specify the string to check.
return:It is an optional paramet
What does array_rand() function in php.?
The array_rand() function returns a random key from an array, or it returns an array of random keys if you specify that the function should return more than one key.
Syntax of array_rand() function:array_ran
Welcome to Findnerd. Today we are going to dicuss the strict typing mode and weak typing mode which is introduced in PHP7. strict typing mode is not activated by default.
You need to activate it via declare like this
declare(strict_type=1);
It s
There are n number of situation where we want to call a function before or after an action. In Codeigniter, we can implement this by using Hooks. In-other-word, we can say Hooks are the event which can be called before or after the execution of an ev
Hi Reader's,
Welcome to FindNerd, today we are going to discuss retrieving and set the data in cakePHP.
If you want to retrieve the data from the database in your CakePHP web application. So in CakePHP, there is an inbuilt function to get the da
Hello Reader's if have a html form with the variable of same name then you can get them indevisaly by POST
Change the names of your inputs:
<input name="name[]" value="Address" />
<input name="name[]" value="Number" />
<input name="
