/    Sign up×
Community /Pin to ProfileBookmark

mySQL variable types or memory problem?

? I set up mySQL tables to work with phpgraphy (before I was using file). Using a PHP front end, I upload pics and insert descriptions. The form field only allows me to renew the page w/ the new information added if there are about 1850 chars (including whitespace) or less.

I have set the descr in the sql table to blob, longblob, text, longtext, and even tried setting the Length/Value to 5000 or more 😛 which is ridiculous, I only need about 2500, because I am inserting “add to cart” buttons which link to paypal- and the links to the paypal page are a kajillion freakin’ characters long. 😮 Why in gods name WHY?

Anyway.

I’m wondering if the problem is with my mySQL settings like the memory and stuff, but as I was looking through the documentation, the only way it had to modify any of that was through shell, and I’m using phpmyAdmin. And the longer I stare at it the more it looks like Chinese.

First, is this really my problem?
Second, how to fix? Pretend I am a complete idiot and give me the exact string to insert into the SQL please Or, don’t pretend… ?

I would really appreciate the help! Thanks.
Sarah*

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@NogDogJul 12.2005 — First thing I might look at is to check with your web host to see if they have imposed some maximum size on POST transactions. (You [i]are[/i] using POST and not GET method, aren't you? There is definitely a limitation on the size of GET transactions.)
Copy linkTweet thisAlerts:
@bandeyelinsangauthorJul 13.2005 — Yes, i have switched to POST.

I guess I can try that! Thanks.

Sarah*
×

Success!

Help @bandeyelinsang spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...