Jump to content
Fórum Script Brasil
  • 0

Duvida sobre alteração de uma select


erick.lopes

Question

Pessoal estou com um problema que acredito seja facil de resolver pra quem entende de PHP, o que não bem o meu caso.

Bom preciso mudar o script abaixo para para um select simples

script:

<?php

if (($display_rental & $display_sale) == "Y"){

echo "<TR><TD></TD><TD><p><input name=\"po\" type=\"radio\" value=\"S\"><font face=\"Arial\" size=\"2\">Vendas</font><br>

<input name=\"po\" type=\"radio\" value=\"R\"><font face=\"Arial\" size=\"2\">Aluguel</font><br></p></TD></TR>";

}

elseif (($display_rental) == "Y"){

echo "<TR><TD></TD><TD><p>

<input name=\"po\" type=\"hidden\" value=\"R\"></p></TD></TR>";

}

elseif (($display_sale) == "Y"){

echo "<TR><TD></TD><TD><p>

<input name=\"po\" type=\"hidden\" value=\"S\"></p></TD></TR>";

}

?>

fico no aguardo de uma ajuda

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...