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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.