updated prev version of foodlyooodly
fixed up some mysql code