Use text data collects from same pages!!

I want to use a text file which is used for collect information of a array index and then generate the array and show it.

<form method="post" action="">
<input type="text" name="array_index"  /> 
<input type="submit"  />
if( strtoupper($_SERVER['REQUEST_METHOD']) == 'POST'){

$_var = $_POST["array_index"];
echo "value".$_var;

		$_array[$i] = $i;
foreach($_array as $_value)
		echo $_value;



I found this but if any one have a better solution plz inform me.


Tagged: , ,

One thought on “Use text data collects from same pages!!

  1. tallinn apartments July 29, 2010 at 8:45 am

    , got to bing to your page and it appeard wierd but after refresh all displayed normal. Just thought id let you know and keep up the good work

Comments are closed.

%d bloggers like this: