Weight and food diary.
2 input forms to insert weight and then for one to insert what they had to eat.
i then wanting it to show on a calendar,
<?php /** * Account * * @package Digital Downloads Pro * @author wojoscripts.com * @copyright 2010 * @version $Id: account.php, v2.00 2011-07-10 10:12:05 gewa Exp $ */ define("_VALID_PHP", true); require_once("init.php"); if (!$user->logged_in) redirect_to("login.php"); ?> <?php include("header.php");?> <!-- ============= CONTENT AREA STARTS HERE ============== --> <div id="content"> <!-- SLIDER STARTS HERE --> <div id="slider" class="slider2"> <div > </div> <h2 class="slider-head">Track your Weight</h2><br /><br /> <div id="whats-hot" > <p></p> </div> <br /><br /><br /> <!-- end of news div --><!-- end of container div --> <div class="w-pet-border"> <br /><br /> <table style='background-color:E1E1E1; color:000000;font-family: Verdana; font-size: 7pt;'><tr><td colspan='8' align='center' style='background-color:9999cc; color:000000;'><font face='Verdana' size='3' color='000'><b>May 2013</b></font></td></tr><tr><tr><td align='center' style='background-color:9999cc; color:000000;'><font face='Verdana' size='2' color='000'><b>Sun</b></font></td><td align='center' style='background-color:9999cc; color:000000;'><font face='Verdana' size='2' color='000'><b>Mon</b></font></td><td align='center' style='background-color:9999cc; color:000000;'><font face='Verdana' size='2' color='000'><b>Tue</b></font></td><td align='center' style='background-color:9999cc; color:000000;'><font face='Verdana' size='2' color='000'><b>Wed</b></font></td><td align='center' style='background-color:9999cc; color:000000;'><font face='Verdana' size='2' color='000'><b>Thu</b></font></td><td align='center' style='background-color:9999cc; color:000000;'><font face='Verdana' size='2' color='000'><b>Fri</b></font></td><td align='center' style='background-color:9999cc; color:000000;'><font face='Verdana' size='2' color='000'><b>Sat</b></font></td><td align='center' style='background-color:9999cc; color:000000;'><font face='Verdana' size='2' color='000'><b>Weekly</b></font></td></tr><td style="background-color:ccccff; color:000000; width:75;height:100"> </td><td style="background-color:ccccff; color:000000; width:75;height:100"> </td><td style="background-color:ccccff; color:000000; width:75;height:100"> </td><td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>1<br> Breakfast <br /> Lunch<br /> Tea<br /> Other<br /> Weight<br/>Creon</td><td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>2<br> <br></td><td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>3<br> <br></td><td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>4<br> <br></td><td align='left' valign='top' style='background-color:ffffcc; color:000000;' width='91' height='100'> <br><br> Creon: 0<br /> Best Weight: 0<br /> lowest Weight: 0</td></tr><tr> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>5</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>6</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>7</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>8</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>9<br> <br></td><td align='left' valign='top' style='background-color:ffffff; color:000000;' width='75' height='100'><p>10<br> </p></td><td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>11<br> <br></td><td align='left' valign='top' style='background-color:ffffcc; color:000000;' width='91' height='100'> <br><br> Creon: 0<br> Best Weight: 0<br> lowest Weight: 0<br></td></tr><tr> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>12</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>13</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>14</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>15</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>16</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>17</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>18</td><td align='left' valign='top' style='background-color:ffffcc; color:000000;' width='91' height='100'> <br><br> Creon: 0<br /> Best Weight: 0<br /> lowest Weight: 0</td></tr><tr> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>19</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>20</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>21</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>22</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>23</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>24</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='75'>25</td><td align='left' valign='top' style='background-color:ffffcc; color:000000;' width='91' height='100'> <br><br> Creon: 0<br /> Best Weight: 0<br /> lowest Weight: 0</td></tr><tr> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='93'>26</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='93'>27</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='93'>28</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='93'>29</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='93'>30</td> <td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='93'>31</td><td align='left' valign='top' style='background-color:ccccff; color:000000;' width='75' height='93'> <br><br> <br> </td><td align='left' valign='top' style='background-color:ffffcc; color:000000;' width='91' height='93'> <br> <br> Creon: 0<br /> Best Weight: 0<br /> lowest Weight: 0</td></tr></table> </div><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> Beta v2.0 <?php include("footer.php");?>
this is the weight database
id date day month year username weight_lb weight_kg notes email
this is the my_food database
id username date day month year meal content notes creon
open a new page where they can see the content they added of the meals ie, breakfast, lunch etc. and to total the creon intake up from that week...
if anyone could help me.. please i need to get it all working within this month. due to my article is being published in the CF Trust magazine and they want all my website to be full functional