Kronos9326
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by Kronos9326
-
-
[code]<table width="100%" border="0" cellpadding="0" cellspacing="0" class="BodyText">
<?php do { ?>
<tr>
<td class="SmallText"><font color="#999999">RELEASED:</font> <a href="<?php echo $row_new['homepage']; ?>"><?php echo $row_new['name']; ?></a></td>
</tr>
<?php } while ($row_new = mysql_fetch_assoc($new)); ?>
</table>[/code]
I've got the above script/query (and several others like it) that I would like to run every 20 minutes and write the contents to a text file. I would then include that file in various parts of the website. I am doing this to reduce the 'strain' of our DB server, since we've already run into problems with us running out of available connections.
Our server is running PHP version 4.3.11.
Can anyone help me with a simple PHP script that would do what I'm looking for. From there I'd apply to to the other queries I have running.
Any help would be appreciated.
David.
Write output of Database Query to file
in PHP Coding Help
Posted
hmm? 403 Forbidden on post
[/quote]
I don't understand.. what's this got to do with my question?
David.