title: PHP - How to select records from last 30 days MySQL
body: <p>I have a table with a column name &quot;ordered_at&quot; where I have entered the value of <code>time()</code>. How can I select records from the last 30 days?</p>