darkfreaks Posted September 26, 2007 Share Posted September 26, 2007 just want to make sure i programmed it right. also the action is going to be the thread number would it automatically carry out the action and post it in the thread number? or would i have to do something in order for it to post in that thread. <?php $height= trim($_POST['height']); $height=str_replace(',','.'); $weight=trim($_POST['weight']); $height=str_replace(',',''); $height=str_replace('.',''); if ($_POST['height']||$_POST['weight']=="true") { $heightwo=$height/2; $total=$weight/$heightwo *703;} echo "your Mass Body Index is:"($total); ?> Quote Link to comment https://forums.phpfreaks.com/topic/70708-solved-double-check-my-bmi-calculator/ Share on other sites More sharing options...
darkfreaks Posted September 26, 2007 Author Share Posted September 26, 2007 would anyone know how i would make a form submit to a forum thread? Quote Link to comment https://forums.phpfreaks.com/topic/70708-solved-double-check-my-bmi-calculator/#findComment-355422 Share on other sites More sharing options...
darkfreaks Posted September 26, 2007 Author Share Posted September 26, 2007 ??? anyone Quote Link to comment https://forums.phpfreaks.com/topic/70708-solved-double-check-my-bmi-calculator/#findComment-355427 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.