roundhost
01-06-2005, 11:57 PM
Hey there,
I've recently been making quite a large hack and i have stumbled accross a small problem :(
The field "text" in the MySQL database is MEDIUMTEXT
The hack i am creating is a blogging system, it sends the blogs to MySQL in their inputted form and then when outputted the text goues through parse_bbcode2.
When i submit the form and send stuff off, things usually go ok, however i recently discovered that when sending off large amounts of text i would get a mysql error..It may be due to characters such as "." "," "'" I am not sure :(
What would be stopping a peice of text from going into mysql?
If i cannot find out i may just try to find exactly what happens when a post is submitted and duplicate that into my code allthough that would take me ages...
Any suggestion?
Thanks,
RoundHost
P.s
Sorry if my post may be a bit of a mess :( Its 2:00 am and i have been coding this all day :hurt:
I've recently been making quite a large hack and i have stumbled accross a small problem :(
The field "text" in the MySQL database is MEDIUMTEXT
The hack i am creating is a blogging system, it sends the blogs to MySQL in their inputted form and then when outputted the text goues through parse_bbcode2.
When i submit the form and send stuff off, things usually go ok, however i recently discovered that when sending off large amounts of text i would get a mysql error..It may be due to characters such as "." "," "'" I am not sure :(
What would be stopping a peice of text from going into mysql?
If i cannot find out i may just try to find exactly what happens when a post is submitted and duplicate that into my code allthough that would take me ages...
Any suggestion?
Thanks,
RoundHost
P.s
Sorry if my post may be a bit of a mess :( Its 2:00 am and i have been coding this all day :hurt: