How can I make a random quote generator with ajax?

smcking

New Member
Basically I have a page with a quote in it. Underneath the quote, I will have a link that will be clicked and the quote will be updated with an ajax call from the database to display the new content. I can do it with a regular php file, but I wanted to add some ajax into the mix so that the entire page isn't refreshed each time.Can someone explain how to do this? I scoped out http://stackoverflow.com/questions/2593090/random-quote-generator-with-php-ajax-and-mysql but the code given was giving me issues.
 
Back
Top