I know that in $HTTP_POST_VARS AND $_POST, I can find globals variables that I use on html code.
But I am using a variable that is not from html code and i want use it in other script.
So, what can I do?
this is a part of my code
<SELECT NAME="se_insert_into_db" SIZE="5">
<?php
$content = fopen('data.txt','r');
$cont=0;
global $student_list; // it is the variable that i want use on other script
while( $student = fscanf($content,"%s\t%s\t%s\n")){
list($last,$name,$code)=$student;
echo '<OPTION VALUE="'.$code.'">'.$name.' '.$last.'</OPTION>';
$student_list=array_fill($cont,1,$code);
$cont++;
}//while
?>
</SELECT><BR><BR>
any suggestion?
thanks