Jump to content

Read Old data..


haku87

Recommended Posts

I try to use Jquery to load a php page into a div. At first, i load the correct data but once i changed data in database and i click on the link to load the php again. It load back the old data.

This is the page i try to load to the div.

include "mysql.php";

$plt = array("1", "2", "3", "Support", "HQ");

for($x=0;$x<5;$x++){

$mysql = "SELECT * FROM information WHERE Platoon ='".$plt[$x]."'";

$info = mysql_query($mysql);

$plttotal[$plt[$x]] = mysql_num_rows($info);

}

This is the function to load the page into the div.

function status(){

$('#tcontent3').load('status.php');

}

Link to comment
https://forums.phpfreaks.com/topic/139216-read-old-data/
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.