How do you update a database with new info but keep old info aswell?
My aim is to have a favorites button that when clicked it will add the item id to a members favorites list so they could call something like fav.php?fav=janedoe and their favorites list be listed.
I know how to add the button and get the item id from database I just really need the mysql query I would run to update aswell as what the "type" would be when creating the database column I think.
info inside the row would then look like this
1,12,14,15,34,46,74
then if member wanted to add item 98 it would update to
1,12,14,15,34,46,74,98
adding 98 to the end.
I realise this is kind of a "can you do this for me" post, but I just haven't a clue where to start.