Hi dav123456,
You are most welcome The reason I check for the time component of the date (# of seconds since the epoch date), is that it allows a simple math comparison of whether one date is > than another.
Yes, I have accessed data from a MySQL database. It’s quite a bit more complex, but once you’re injecting javascript, ajax calls to PHP isn’t that bad. However, before doing anything like that, you’d want to set up a server and a MySQL database populated with data, then write php files to get/set database data, and then test it from a client side html page with javascript. If you already had all that working, then merely injecting the javascript into an axure page is quite easy and I can provide a sample of that.
The only difference is that you’d want to append an entire block of javascript to the head section of the html. That allows you to have javascript functions so that the ajax callbacks work. I try to avoid using external mySQL/PHP because it makes a prototype fragile (dependent on an external site’s php and database).
To keep my focus on design and not coding, I find it’s easier to fake a database with a hidden repeater within the Axure file, or by having a whole bunch of variables that are stored using webstorage as shown in this sample. You can store lots of variables (up to 5Mb) in webstorage, but of course, that is local to one user’s machine, not shared between users like a real external DB.
-Bill