replace - php - Current date in MySQL WHERE condition -


how current day's date mysql query in php code?

$sql = "select id, d, d_s s_e d_s = '2015-05-31'";  

if using mysql, replace '2015-05-31' current_date().


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -