Jump to content

Looping for infinite.


rofl90

Recommended Posts

I have this testimonial grabber but it just keeps looping the same exact testimonial for infinite...

 

<?php
echo "<h1>Testimonials</h1>";
echo "<br />";	
while($finalisedpage = mysql_fetch_array(mysql_query("SELECT * FROM testimonials"))) {

echo $finalisedpage['clientname'];
echo "<br /><blockquote>";
echo $finalisedpage['message'];
echo "</blockquote><br />";
echo $finalisedpage['company'];
echo "<br />";
echo date("jS \of F, Y.",$finalisedpage['date']);
echo "<br /><br />";
}
?>

Link to comment
https://forums.phpfreaks.com/topic/95172-looping-for-infinite/
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.