Jump to content

Recommended Posts

I would like to create a CMS for a website and would need a blog. I am confused about the difrence between Text and Blob,  Blob being case sensitive for some reason.

 

Also what is the limit on size (I think i'm on 4.0.25) as I see things like  comments TEXT(300)

does this mean that it padds spaces to 300 unlike VARCHAR. If so what is the advantages speed wise.

 

Desmond.

 

 

Link to comment
https://forums.phpfreaks.com/topic/72645-solved-text-blog/
Share on other sites

I have checked it out and I am still confused about case sensitive as this is something to do with comapring data like a password. also. I have tried to create a table with a blog field but I get an error

 

CREATE TABLE IF NOT EXISTS `blob` (

 

`id` int( 11 ) NOT NULL AUTO_INCREMENT ,

`content` blob( 500 ) default NULL ,

PRIMARY KEY ( `id` )

) TYPE = MYISAM AUTO_INCREMENT =1

 

#1064 - You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '(500) default NULL,

  PRIMARY KEY  (`id`)

) TYPE=MyISAM AUTO_INCREMENT=1 ; 

Link to comment
https://forums.phpfreaks.com/topic/72645-solved-text-blog/#findComment-366462
Share on other sites

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.