howdy,
I downloaded a quote-generating php script from hotscripts and am tryin to get it to work right. there's 3 files--a file where you manage the quotes (quotes stored in a .dat file), the quotes.php script, and the .dat file itself.
I've got it all uploaded onto my server, but am not sure how to get the random quote to display on my web page. the quotes.php file does generate a random quote and print it to the screen (as you can see here), , I just need it to do so where i want it to on my index page.
I'm using the following code:
include("quotes.php");
on my index page.
The quotes.php file ends with the
echo "$quote";
command, so I don't think I need to add that to my web page.
Am I going about this wrong? I just can't get it to work. I'd really appreciate your advice on this. I know next to nothing of php, though I do know javascript on a beginners level.
Thanks in advance!
Melinda