Re: [PHP-DB] Condition for Adding data (Still Having Problems)

2003-07-24 Thread gatimu
Hi Guys, I though maybe I can be more specific so you can see the problem I havin, The idea of having this code on my pgae was to execute a decision from a form input so that once a value has been choosen by a user a page unique to what he/she choose appears So my Page looks soemthing like this

RE: [PHP-DB] Condition for Adding data

2003-07-22 Thread Gary . Every
Well, you're initializing $food to ""; then testing to see if it has a value, which it never will. If you're getting the $food variable from a POST or a GET op, you'll need to grab it from the appropriate array, $food = $_POST['food']; echo $food; to see what is being passed. Gary Every Sr.