Jump to content

How do i...


Bullet

Recommended Posts

I need a help with entering something, its like me choosing something and then clicking choose!

 

<font color=black><b>Company:</font</b> <select size="1" name="pp"> <?

$pp = mysql_query("SELECT * FROM `phonep`");

while ($pp1 = mysql_fetch_assoc($pp)) {

print '<option value="'.$pp1['id'].'">'.$pp1['ppname'].'</option>';

}?></select> 

  <input class=button type=submit value="Choose" name="Choose">

        </div></td>

    </tr>

 

      </table>

 

<?

if( isset($_POST["Choose"]))  {

$fetch1= mysql_fetch_object(mysql_query("SELECT * FROM phonep WHERE id='".$_POST['']."'"));

 

PHP i created, and need help, i need it so when you choose  a phone company you can go to it by clicked Choose, help?

 

:o ??? :-[ :-\ >:(

Link to comment
https://forums.phpfreaks.com/topic/83389-how-do-i/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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