Page 1 of 1

Help With Putting Things On A Page

Posted: Thu Feb 24, 2005 1:50 pm
by SilverMist
Hey,
I'm doing a thing with cron where it picks six horses, 1,2,3,4 etc to 6, then it posts the results on a page. My cron code is:

Code: Select all

SELECT * FROM horses ORDER BY RAND() LIMIT 6
And I need it to post to a page such as show.php?id=$id. I need it to do this for anywhere upwards of 10+ shows a day...can anyone help? I know I'm being very vague but I've researched this and can't find anything.

Posted: Thu Feb 24, 2005 2:26 pm
by feyd
so you want to request a seperate page on your site?

fopen() can do this pretty easy. file_get_contents() does it very well too. Although I'd suggest figuring out how to include() the file, as it'll process faster.. unless time isn't much of an issue.