Bullet Posted December 27, 2007 Share Posted December 27, 2007 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? ??? :-\ Link to comment https://forums.phpfreaks.com/topic/83389-how-do-i/ Share on other sites More sharing options...
revraz Posted December 27, 2007 Share Posted December 27, 2007 This is more HTML, you should use a FORM. Link to comment https://forums.phpfreaks.com/topic/83389-how-do-i/#findComment-424258 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.