Unanswered: SELECT within a certain timeframe (timestamp) pre-v4.1?
I'm trying to write a script to archive the last month's new user registrations that are timestamped which will hopefully be triggered by a cron job.
I'm using PHP and MySQL version 3.23.55 which doesn't support a bunch of useful functions to process date strings like STR_TO_DATE (post v4.1). So I'm wondering how is this done with the older versions? I'm having a really hard time finding documentation. I've done a lot of error checking and I've narrowed it down to the WHERE conditional. It's actually succeeding in creating the file but it's not pulling only the users from the last month. It's pulling all the users.