handle with listbox in php

This slect tion is in form

<form id="form1" name="form1" method="post" action="checkque_insertion_1.php">

How can i receive only the value of
<?php echo $row_ReSeActi['idactivity']?>

in page checkque_insertion_1.php

idactivity is primary key that i want to insert in to table   it can slect only one from listt
<tr>
      <td>&nbsp;</td>
      <td width="20">&nbsp;</td>
      <td><label for="select">¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿</label>
        <select name="select" id="select" title="">
          <?php
do {  
?>
          <option value="<?php echo $row_ReSeActi['idactivity']?>"><?php echo $row_ReSeActi['idactivity']?>   <?php echo $row_ReSeActi['activitydate']; ?>  <?php echo $row_ReSeActi['activityname']; ?>  </option>
          <?php
} while ($row_ReSeActi = mysql_fetch_assoc($ReSeActi));
  $rows = mysql_num_rows($ReSeActi);
  if($rows > 0) {
      mysql_data_seek($ReSeActi, 0);
	  $row_ReSeActi = mysql_fetch_assoc($ReSeActi);
  }
?>
      </select></td>
      
      <td width="20">&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>

Open in new window

teeraAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

COBOLdinosaurCommented:
$_POST['select'] will only return one value, the value of the selected option.

Cd&
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
teeraAuthor Commented:
Hi COBOLdinosaur

But $_POST['select']

will provide
<?php echo $row_ReSeActi['idactivity']?>   <?php echo $row_ReSeActi['activitydate']; ?>  <?php echo $row_ReSeActi['activityname']; ?>

I want only <?php echo $row_ReSeActi['idactivity']?>
0
teeraAuthor Commented:
Thank you
0
COBOLdinosaurCommented:
That is what you will get.  It is what you are setting as the value and that is what you will get.

 <option value="<?php echo $row_ReSeActi['idactivity']?>">
Sets the value of the option.


Cd&

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.