cool.
I'm a little surprised you (John) didn't do it that way. I'd use localStorage (there are several JS polyfills for browsers that don't support web storage yet). But I understand, we're focusing on the PHP side.Quote:
Originally Posted by keyboard1333
code is good. biggest thing I'd change is how you're storing the quotes -is pretty fragile. For a flat file, I'd use JSON, and put each quote/citation pair in their own array.Code:array( quote,citation,quote,citation )
if you'd like to hear more, let me know. I'll read it all the way through tomorrow.Code:[
[ quote,citation ]
,[ quote,citation ]
]
