Jump to content

Create button to call a random quote


jayveezed

Recommended Posts

Hi there

 

I have set up a mysql database for a pretty basic random quote generator (the php code I used is from here http://www.weberdev.com/get_example-1630.html )

 

I want a random code generator whereby a user can click a button and a new (random) quote is generated without refreshing the whole window. If this makes no sense here is a javascript version of the sort of thing I want to do...

 

http://www.hscripts.com/scripts/JavaScript/random-quote-generator.php

 

...... I just need to know how to call the script with a button of some sort.

 

 

Any help would be most appreciated...

 

cheers

 

Jay

Link to comment
https://forums.phpfreaks.com/topic/161896-create-button-to-call-a-random-quote/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.