please can some one show me how to view a data from a table (database) using a data range from and to to search

SELECT * FROM table WHERE date_created BETWEEN $date1 AND $date2

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.