Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
(Help) PHP Error?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Heaplink" data-source="post: 223312" data-attributes="member: 8966"><p>First off why do you use VARCHAR for an article content? Use TEXT as it can hold any length of characters and also better for memory (since varchar requires a predefined length) (+ the name is non-descriptive).</p><p> </p><p>Second; Dump your <span style="font-family: 'Consolas'">cms_comments </span>table structure so we can see it. Without it, we can't see what you're missing other than wrong code.</p><p> </p><p>Third; mysql functions (e.g. non PDO/MySQLi) is not safe nor supported by PHP as of the latest releases. You should take a look at PDO and/or MySQLi</p></blockquote><p></p>
[QUOTE="Heaplink, post: 223312, member: 8966"] First off why do you use VARCHAR for an article content? Use TEXT as it can hold any length of characters and also better for memory (since varchar requires a predefined length) (+ the name is non-descriptive). Second; Dump your [FONT=Consolas]cms_comments [/FONT]table structure so we can see it. Without it, we can't see what you're missing other than wrong code. Third; mysql functions (e.g. non PDO/MySQLi) is not safe nor supported by PHP as of the latest releases. You should take a look at PDO and/or MySQLi [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
(Help) PHP Error?
Top