Jump to content

Recommended Posts

I've set up a row in a mysql table, and its a text type....  what i want to do, is everytime my members complete something, a piece of text goes into that row... and its echo'd in their profile.

how do i append whats in the row... without overwriting  text already in there?  please give me some code that can do this... thank you very much!
Link to comment
https://forums.phpfreaks.com/topic/32297-php-sql-i-need-some-help-please/
Share on other sites

no, like its not a text field value that enters it....

when they get to a page, it has and update that inserts for example -PHP-1- into the field... and the field is a text type in the database.

isn't there a way to keep whats in the field and then add the new text in there also, while the old text in there stays in there.
I'm not sure what your saying..... From your first post what wildteen88 said should work..... Unless you mean it's a check box? In which case you would just compare against it, and if it's true you take the old data out of the database, append the new data, and put it all back in overwriting the old data.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.