[eluser]ajknodel[/eluser]
I have a website that requires that all input be in English, but the nature of it means that some might come along and use Korean or Japanese input. Is there any way to make sure input provided is in English? I've successfully been able to input Korean in to the database and I don't want that to work for various reasons.
Something else that I would like to know about is how to perform queries using Active Record that will filter results based on date ranges. It seems to me that I need to use MySQL commands (since that's my database), but how do you issue MySQL commands using Active Record? Is there documentation somewhere about this issue?
If I have to switch to a different type of database query, could I generate results based on search criteria using a stored procedure or generate a query based on an already-existing data set? I'm a little lost here so any pointers would be helpful.
Thanks. Love the framework. It's been very helpful so far!
edit: forgot one thing: I want to input dates with minutes and sometimes seconds but I haven't figured out the mdate() format for that.
Code:
$datestring = "%Y%m%d";
works, but I'd like more accuracy. Thanks again!