
Search In
If you are using Dropbox.js for file uploading and wants to upload some specific extension type like csv, xls etc. Please follow the below code::
Dropzone.options.uploadcontact = {
maxFilesize: 10, // Mb
acceptedFiles: ".xls,.xlsx,.csv", //
If you want to debug a large amount of data. You need to create a Log file with the following piece of code.
$file = fopen ( "testfile.txt" , "a+" );
fwrite ( $file , serialize ( print_r ( $_POST , true ) ) );
fopen(): It is inbuilt function which
In odoo-9 first we have to install odoo website builder module after this, lets first create an empty file and named it style.less and place it in a folder called less in static folder. The following rules will style our Ser
There are many times when we run our testcases there might be the possibility that testcases may fail and when the testcase may fail then the screenshot of the screen should be captured. We should use the following code to capture the screenshot:
Sy
Hello Guys,
If you are looking to use MYSQL join in zend framework. Please use the below code for the same:
$dbObj = Zend_Db_Table::getDefaultAdapter();
$selectQuery = $this->select();
$selectQuery->setIntegrityCheck(false);
$selectQuery->
Hello guys if you are looking to use where clause with multiple attribute in ZEND Framework. Please use the below code for the same::
$databaseObj = Zend_Db_Table::getDefaultAdapter();
$selectQuery = $this->select();
$selectQuery->from(array('
Hello Guys,
If you are looking to set Breadcrumb in zend framework. Please follow the below code for the same::
1)Open your controller file and function in which you want to add breadcrumb.
/* BreadCrumb starts Here */
$breadcrumbArray = Array("Ho
Hello Reader's If you want to get all elements in the combinations then you can use PHP code to generate it.
Lets see the example as below:-
function pc_permute($items, $perms = array()) {
if (empty($items)) {
echo join(' ', $perms) . "
Hello Readers if you want to convert your string into binary using PHP then you can use the code syntax as below:-
$value = unpack('H*', "This string is converting into binary");
echo base_convert($value[1], 16, 2);
Output:-
010100110111010001100
Hello Readers if you have two images i.e. one png and one jpg, Then by using PHP you can merge both on a single one.
Lets see the example as given below:-
<?php
# If you don't know the type of image you are using as your originals.
$image = im
