Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need between condition query #28

Closed
remyamr opened this issue Nov 24, 2019 · 1 comment
Closed

need between condition query #28

remyamr opened this issue Nov 24, 2019 · 1 comment

Comments

@remyamr
Copy link

remyamr commented Nov 24, 2019

I nee to know how select data between two dates and equal to id given

Date in my db look likes 2019-11-24 07:51:05

Post date like - 2019-11-14 and 2019-11-24

$db->where('o_id', $o_id);
$numorders = $db->getValue("tbl_orders", "count(*)");

@peixespnsc
Copy link
Contributor

Hi @remyamr,
This project uses the https://github.com/ThingEngineer/PHP-MySQLi-Database-Class as DB library. Please send yours questions about DB queries to they

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants