Sirs / Ma'ams:
i have a question that may seem really stupid to y'all but i am going to ask anyway
what i am trying to do:
i have a website that has upto 55 differant catagories that can be selected... (only one at a time though) when a cat is selected, it sends you to a page for you to enter in multiple fields... (using a form) and then when submit is clicked there is a hiddent field that sends a variable to the "check-edit" page called table....
what i want to do is only have one "check-edit" page... the page goes through and checks to make sure that all fields are filled out properly and all that... and if they are this is what i have as a query....
else
{ /*open of last else... */
if (!mysql_query("INSERT INTO $table (cdi_prod_number,nsn,short_desc,prod_price,prod_size,qty,vendor,our_cost)
VALUES('$prod_id','$nsn','$sh_desc','$list_price','$size_vol','$min_qty','$vendor','$our_cost')"))
{
print ("I didn't enter any data");
}
}
where $table is the information that was passed from the previous page...
how do i, if it can be done, make that work... all i get is the fallout -- "i didn't enter any data"
any and all help is very welcomed.....
email:
will.gray@cas-grp.com