Search
 
SCRIPT & CODE EXAMPLE
 

PHP

date between query in codeigniter

$this->db->where('sell_date BETWEEN "'. date('Y-m-d', strtotime($start_date)). '" and "'. date('Y-m-d', strtotime($end_date)).'"');
Comment

PREVIOUS NEXT
Code Example
Php :: composer memory limit 
Php :: php convert string to utf8 
Php :: laravel updateorcreate 
Php :: php convert array to json object 
Php :: sql row count php pdo 
Php :: pdo connexion 
Php :: how to calculate days between two dates in php 
Php :: get soft deleted data laravel 
Php :: pre_r 
Php :: group by laravel 
Php :: php get time in milliseconds 
Php :: php newline 
Php :: how to split url in php 
Php :: get hours difference between two dates in php 
Php :: php int min 
Php :: apache htaccess read from /public 
Php :: php date strtotime add days 
Php :: php changr date format 
Php :: Command "route:scan" is not defined. 
Php :: how to hide .php extension using .htaccess 
Php :: new line in php 
Php :: phpmailer with laravel 
Php :: php reset mysql array 
Php :: php strtotime 
Php :: array to stdclass object php 
Php :: remove slashes from json php 
Php :: block direct access to php images 
Php :: how to check php string length 
Php :: php fwrite new line 
Php :: laravel check php version 
ADD CONTENT
Topic
Content
Source link
Name
1+7 =