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? ??? :-\ Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/83389-how-do-i/#findComment-424258 Share on other sites More sharing options...
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.