Hi guys -
I'm trying to utilise an 'ADD' button on a table of results, but I am having trouble inserting the data from that table.
This is my code so far - http://rafb.net/p/gWC2DF23.html
At line 78, it's not allowing me to insert that; $row[Food_Name].
(If I change it to Food_Eaten1 = 'test', it works fine)
I think it's because I'm using a while loop for the search, so when Add is clicked it's not recognising which line or array data I'm trying to add? I'm definitely missing something but can't think what.
Any help would be appreciated.
🙂
Thanks.