Jump to content

Help please...


stowell

Recommended Posts

$query = "SELECT msg_id,msg_name, msg_description  FROM `table_name` ORDER BY RAND() LIMIT 0,1";


thats a query that will select a record at random but that 5 minutes u will need to refresh the page as php is server side so can't time and update dynamicaly or a less in a iframe or using AJAX

Regards
Liam
Link to comment
https://forums.phpfreaks.com/topic/18729-help-please/#findComment-80795
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.