Page 1 of 1

past variable

Posted: Fri Oct 07, 2011 5:43 am
by Lphp
I have a variable want to past , how?

Code: Select all

while($i<$count){
 $i++;
 $oversea_period='oversea_period'.$i;//ok in here
<select name="<?php echo '.$oversea_period.'; ?>">not in here ??
}
on other page
I have
$sql.= "oversea_period1='".$_POST[?]."', "; what in here ??

Re: past variable

Posted: Fri Oct 07, 2011 7:20 am
by social_experiment
Lphp wrote:what in here ??
It depends on what value is inside your variable ($oversea_period), if the value is 'data' then $_POST['data'] will hold the information.