Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8231609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:33:13+00:00 2026-06-07T17:33:13+00:00

Not sure how to word this but my problem is that my fields will

  • 0

Not sure how to word this but my problem is that my fields will not update properly. I have a page set up where the user can update things like job listings, events, etc. The problem is that some of the descriptions are 3 or more paragraphs long and when the form is processed, it doesn’t update the database correctly. This also happens when the user makes a new item.

Is there a limit on how much text can be loaded at once?

Here is the code for updating that I am using:

mysql_query("UPDATE tbl_workers_club SET eventdate='".$newDate."', theme='".$theme."', text='".$text."', contactperson='".$contactperson."', contactphone='".$phone."', dateentered='".$dateentered."' WHERE specialID='".$id."' ");

Here is the code for new items:

mysql_query("INSERT INTO tbl_workers_club (eventdate, theme, text, contactperson, contactphone, dateentered)
VALUES ('$newDate', '$theme', '$text', '$contactperson', '$contactphone', '$dateentered')");

I did not see another question like this so if you know of one let me know.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T17:33:15+00:00Added an answer on June 7, 2026 at 5:33 pm

    Saying what errors you’re getting (or no errors) would greatly help diagnosing this problem. Is the content merely “cut off” in the database? Or is MySQL throwing errors back to PHP? However, here are some ideas…

    mysql_real_escape_string() is a good place to start. Any input with a single apostrophe will break your code. Read up on cleansing user input for SQL, there are tons of resources on the web. It’s absolutely not optional. Also look into parameterized queries / prepared statements, or one of the many ORM libraries/frameworks out there.

    It’s also possible that your “text” column is not large enough to hold those inputs, if you’re only having problems for very long entries. VARCHAR(X) can only hold X characters. Use something like MEDIUMTEXT instead.

    Use POST rather than GET; GET has limits on the size of values sent via the URL. POST is the conventional method when sending requests that create/alter data.

    It’s hard to say what the problem is without more info on what errors you’re getting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am not sure how to really word this, but I have a game
I am not really sure how to accurately word this question, but you will
I am not sure whether distinct is the right word for this. I have
I have a question but I'm not sure of the word to use. My
Im not sure if endian is the right word but.. I have been parsing
Not sure how to work this but I found a way that works although
I am not sure if this is possible, but I have a scenario where
I'm not sure how to word this cause I am a little confused at
Not quite sure how to word this question. I am wondering if there is
Not really too sure how to word this question, therefore if you don't particularly

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.