Category Covered

Free pdf creator downlod  

Here is a very good software that you can use to conver document file to pdf http://en.pdf24.org/pdf-creator-download.html    
 
By: Tech writer  |   Total Read: 62  |   Read more..

Mysql store procedure and function example  

Here are some rough sample example of store procedure and mysql sample that will help you to understand   CALL albumItems; DELIMITER $$ USE `areslog_shanghai`$$ DROP PROCEDURE IF EXISTS `albumItems`$$ CREATE DEFINER=`root`@`localhost` PROCEDURE `albumItems`() BEGIN SELECT *, FnItemPartyAlbum(id) AS funcResults FROM areslog_shanghai.nite_parties; END$$ DELIMITER ; DELIMITER $$ DROP FUNCTION IF EXISTS
 
By: Tech writer  |   Total Read: 70  |   Read more..

How can i see my mysql store procedure results?  

 CALL areslog_shanghai.albumItems;
 
By: Tech writer  |   Total Read: 0  |   Read more..

Basic mysql stored procedure  

DELIMITER $$ CREATE PROCEDURE `areslog_shanghai`.`albumItems`() BEGIN END$$ DELIMITER ; another example ------------------- DELIMITER $$ USE `areslog_shanghai`$$ DROP PROCEDURE IF EXISTS `albumItems`$$ CREATE DEFINER=`root`@`localhost` PROCEDURE `albumItems`() BEGIN SELECT * FROM areslog_shanghai.nite_parties; END$$ DELIMITER ;
 
By: Tech writer  |   Total Read: 76  |   Read more..

How to drop or delete mysql stored procedure  

DROP PROCEDURE IF EXISTS `albumItems`;
 
By: Tech writer  |   Total Read: 143  |   Read more..

Cakephp containable conditions in pagination  

cakephp containable with complex condition, limit on related model. $this->paginate = array( 'limit' => 20, 'order' => array('NiteParty.date' => 'ASC'), 'contain' => array( 'Item' => array( 'conditions' => array( 'Item.id' => 3 ), 'limit' => 2, ), 'NitePartyPicture' => array( 'limit' => 3, ) ) ); $niteparties = $this->paginat
 
By: Tech writer  |   Total Read: 527  |   Read more..

Cakephp login is not working on internet explorer  

If you see that your cakephp login is not working on internet explorer then modify the following information.   /app/Config/core.php Configure::write('Session', array( 'defaults' => 'php', 'cookieTimeout' => 0, 'cookie' => 'newNameSESSION', ));
 
By: Tech writer  |   Total Read: 106  |   Read more..

Multiple selection dropdown list limit controll  

 I have a multiple selection dropdown list. I want to controll the limit using jquery so i just use the following jquery and its work fine for me.   $(document).ready(function() { $('#ItemOptions option').click(function() { var items = $(this).parent().val(); if (items.length > 3) { alert("You can only select 3 values at a time"); $(this).removeAttr("selected"); } })
 
By: Tech writer  |   Total Read: 91  |   Read more..

PHP forcely stop a loop  

If you want to stop a loop forcely just use break; to stop for($dayCounter=0; $dayCounter<=21;$dayCounter++){ break; }
 
By: social worker  |   Total Read: 90  |   Read more..

how to get a date after 45 days  

If you want a date after some date in php just use the code $start = date('Y-m-d');
$end = date("Y-m-d", strtotime($start ." +45 day") );
 
By: Tech writer  |   Total Read: 82  |   Read more..
Top 15 Posts
Google+