Показать сообщение отдельно

  #2  
Старый 31.10.2009, 13:51
Vlad&slav
Участник форума
Регистрация: 01.01.2009
Сообщений: 138
Провел на форуме:
817404

Репутация: 82
Отправить сообщение для Vlad&slav с помощью ICQ
По умолчанию

Как мне сделать на адJaxe чтобы когда работал мой скрипт во время цикла менялась страница но не обновляласть. Помогите плз я в ajax 0

PHP код:
<?php  if (isset($_POST['start'])) { $file file('world.txt'); $count count($file);   for ($i=0;$i<=$count$i++) { echo "$file[$i] \n"slep(10); $procent = ($i/$count)*100 }  } ?>   <form id="form1" name="form1" method="post" action="">   <input name="start" type="submit" id="start" value="Подтвердить" /> </form> <p>&nbsp;</p> <table width="100%" border="1" cellpadding="0" cellspacing="0">       <tr>         <td width="100%"><table width="100%" height="5" border="0" cellpadding="0" cellspacing="0">           <tr>             <td width="<?php echo $procent?>%" bgcolor="#CCCCCC">&nbsp;</td>             <td>&nbsp;</td>           </tr>         </table></td>         <td width="50px"><input name="text" type="text" style="width:50px; height:100%" value="<?php echo $i?>" /></td>       </tr> </table>
 
Ответить с цитированием