Return to Snippet

Revision: 17042
at August 21, 2009 11:10 by s1nerg1a


Initial Code
<?php
		 echo "<table border='10' cellpadding='2' cellspacing='2'>";
			echo "<body>";
			for($i=0;$i<10;$i++)
			{
				echo "<tr>";
						for($j=0;$j<10;$j++)
						{
								echo "<td>";
									echo $_POST["nombre"];
								echo "</td>";
						}					
				echo "</tr>";
			}	
			echo "</body>";
		 echo "</table>"		 
?>

Initial URL


Initial Description
Codigo invocado desde el cliente por el elemento XMLHttpRequest, devuelve codigo en html.

guardalo como php_server.php

Initial Title
ejemplo de AJAX

Initial Tags


Initial Language
PHP