Confusing Database to link/text/info when "liking"

So I’m going to implement this “Bookmark” feature on my site. Basically, if you like this page, you can bookmark it and view all your bookmarks in your members area.

I’m new to databse connection with php. I’ve already figured out the login/register/sessions(mostly new to sessions) and know how to display information. Basically, I’m asking how to insert information into a database without erasing the original. And how to read it to links and text if I just add onto the other text in the table row.

Well, if you just want to add something new to an existing record, just use CONCAT() in the query, something like SET bookmark = CONCAT(bookmark, $newentry). or just add another row using an INSERT query.

Sponsor our Newsletter | Privacy Policy | Terms of Service