Jump to content

help in variable scope..


daxguy

Recommended Posts

i have a text box, the no of text boxes that are displayed are random depending upon the condition of the loop..

hosting[] takes up many no of values

<input type='text' name='hosting[]' size='2' /> when the form is submitted

i use the following code to access the content of hosting[]

 

$link_no = $_POST['hosting'];
			$total_actual_links = null;
			foreach($link_no as $total_link)
			{
				$total_actual_links[] = $total_link;

			}

 

now i get the results in $total_actual_links[].. i want to pass the value of this array into the value of another text box of other form which i get on submission of the 1st form..

i do not knw how shud i do this.. please help

 

Link to comment
https://forums.phpfreaks.com/topic/210386-help-in-variable-scope/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.