Здравствуйте господа.
Помогите пожалуйста разобраться , можно ли с помощью AJAX обновить только код выделенный //=======, чтоб при этом страница не обновлялось ?
Можно даже без Ajax , всеми способами с которой возможны.
<?php
session_start();
if ($_SESSION['uid'] == null) header("Location: index.php");
include "connect.php";
include "functions.php";
if ($user['room'] != 1042) { header("Location: main.php"); die(); }
$user=mysql_fetch_array(mysql_query("SELECT * from users where id='".(int)$_SESSION['uid']."'"));
?>
<HTML><HEAD>
<link rel=stylesheet type="text/css" href="i/main.css">
<meta content="text/html; charset=windows-1251" http-equiv=Content-type>
<META Http-Equiv=Cache-Control Content=no-cache>
<meta http-equiv=PRAGMA content=NO-CACHE>
<META Http-Equiv=Expires Content=0>
</HEAD>
<body leftmargin=5 topmargin=5 marginwidth=5 marginheight=5 bgcolor=#e0e0e2>
<TABLE border=0 width=100% cellspacing="0" cellpadding="2">
<TR>
<TD align=center>
//===========
<?
$xxx=mysql_fetch_array(mysql_query("SELECT * from xxx where id='".(int)$user['id']."'"));
?>
<small>
<br>Идет работа по модификации, осталось:<BR>
<B>$xxx['min']</B> мин. <B>$xxx['sek']</B> сек.<BR>
</small>
//===========
</TD>
</TR>
</TABLE>
</TD>
</BODY>
</HTML>