PHP Classes

multiple selection

Recommend this page to a friend!

      PHP Classes blog  >  Using PHP MySQL with ...  >  All threads  >  multiple selection  >  (Un) Subscribe thread alerts  
Subject: multiple selection
Summary:multiple selection
Messages:4
Author:diouck
Date:2015-10-14 10:26:55
Update:2015-10-15 20:50:31
 

  1. multiple selection   Reply   Report abuse  
Picture of diouck diouck - 2015-10-14 18:17:15
Hello
I 'm really interested in your example and it helped me a lot . I would like to know how to reuse a page with multiple selection I try to edit the page editcompagny.php to have several selection in vain
Thank you for your understanding

  2. Re: multiple selection   Reply   Report abuse  
Picture of Ashraf Gheith Ashraf Gheith - 2015-10-14 19:36:00 - In reply to message 1 from diouck
Hi,
send me please more details, could not understand what you really need.

Thank you

  3. Re: multiple selection   Reply   Report abuse  
Picture of diouck diouck - 2015-10-15 18:56:57 - In reply to message 2 from Ashraf Gheith
OK thank you. In fact I would like to give the show by making a filter on the name of the street and companies such details
like this
thesoftwareguy.in/wp-content/upload ...

I try to take your class list , but it does not work

<tr align="left" valign="top">
<td align="left" valign="top">Company name</td>
<td align="left" valign="top"><select id="company" name="company">
<option value="0">Please choose a company</option>

<?php for($i=0; $i < count($arr); $i++)
{ print '<option value="'.$arr[$i]['id'].'">'.$arr[$i]['company'].'</option>'; } ?>
</select>
</td>
</tr>

<tr align="left" valign="top">
<td align="left" valign="top">Company name</td>
<td align="left" valign="top"><select id="type" name="type">
<option value="0">Please choose a type</option>

<?php for($i=0; $i < count($arr); $i++)
{ print '<option value="'.$arr[$i]['id'].'">'.$arr[$i]['type'].'</option>'; } ?>
</select>
</td>
</tr>

  4. Re: multiple selection   Reply   Report abuse  
Picture of diouck diouck - 2015-10-15 20:50:31 - In reply to message 2 from Ashraf Gheith
OK thank you. In fact I would like to give the show by making a filter on the name of the street and companies such details
like this
thesoftwareguy.in/wp-content/upload ...

I try to take your class list , but it does not work

<tr align="left" valign="top">
<td align="left" valign="top">Company name</td>
<td align="left" valign="top"><select id="company" name="company">
<option value="0">Please choose a company</option>

<?php for($i=0; $i < count($arr); $i++)
{ print '<option value="'.$arr[$i]['id'].'">'.$arr[$i]['company'].'</option>'; } ?>
</select>
</td>
</tr>

<tr align="left" valign="top">
<td align="left" valign="top">select type name</td>
<td align="left" valign="top"><select id="type" name="type">
<option value="0">Please choose a type</option>

<?php for($i=0; $i < count($arr); $i++)
{ print '<option value="'.$arr[$i]['id'].'">'.$arr[$i]['type'].'</option>'; } ?>
</select>
</td>
</tr>