Hi guys,
I have a problem with multiple selection
I have a list with 8 options in pull-down menu. For each option I have a price.
Something like that :Element Price
Table 10
Sofa 20
<SELECT NAME=myfurnitur e[] id=myfurniture[] class=third multiple>
<OPTION VALUE="Table">T able </OPTION>
<OPTION VALUE="Sofa">So fa</OPTION>.....
I do that:
foreach ($myfurniture As $Item)
{
echo "<li>" . $Item . "</li>";
if($Item=True)
{
switch ($myfurniture)
{
case $myfurniture = "Table";
echo "<p class=second>Pr ice is: <span class=five> 10;</span></p>";
break;......
But I receive the result only and always for the last element from myfurniture array
Need help
I didnt find anything to treat something like
Thank You !!!
I have a problem with multiple selection
I have a list with 8 options in pull-down menu. For each option I have a price.
Something like that :Element Price
Table 10
Sofa 20
<SELECT NAME=myfurnitur e[] id=myfurniture[] class=third multiple>
<OPTION VALUE="Table">T able </OPTION>
<OPTION VALUE="Sofa">So fa</OPTION>.....
I do that:
foreach ($myfurniture As $Item)
{
echo "<li>" . $Item . "</li>";
if($Item=True)
{
switch ($myfurniture)
{
case $myfurniture = "Table";
echo "<p class=second>Pr ice is: <span class=five> 10;</span></p>";
break;......
But I receive the result only and always for the last element from myfurniture array
Need help
I didnt find anything to treat something like
Thank You !!!
Comment