php - select query for date between -


i doing project have fetch data of between dates plus name of user. query date betweenis working fine and operater going in wrong way please suggest me how implement achieve desired output. code:

$qry11=mysqli_query($con,"select * entry (create_date between '$first' , '$second') && cnor='$nme'"); 

so please suggest ne how this....any idea appreciate highly gratitude.

&&  

should replaced with

and 

you seem using and in query right

(create_date between '$first' , '$second') 

Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -