0 ) { if ( $submit == "Add Food" ) { $sql = " INSERT INTO foods ( foodDate, foodType, foodAmount, foodMeasurementType, usUsername ) VALUES ('$newFoodDate', '$newFood', '$newFoodAmount', '$newMeasurmentType', '$usUserName' ) "; //echo("sql - $sql
"); if ( !($result = mysql_query($sql,$conn)) ) DBErr($sql, $conn); } if ( $submit == "Show Totals" ) $showTotals = TRUE; if ( $submit == "Hide Totals" ) $showTotals = FALSE; } else $showTotals = FALSE; ?> InnerAthlete™ - Nutritional Log
Your Ad Here
HOME My IA Tools Articles Find Trainer Events About  
Food Log

Nutritional values of foods from the USDA: Look Here!
Add Food
Date (yyyy-mm-dd):   Food:   Amount:  


"); ShowTotals(); } else { echo(" "); } ?>
Home |  Help |  Contact Us |  Site Map |  Coach Benson
Copyright© 1999-2007 InnerAthlete™ All rights reserved.