Are you using a field of type CHAR or VARCHAR ?
You should use a TEXT field instead.
According to the documentation (http://www.mysql.com/doc/en/BLOB.html) :
"There is no trailing-space removal for BLOB and TEXT columns when values
are stored, as there is for VARCHAR columns."

Hope this helps,
-- 
Joseph Bueno

Murthy wrote:
> how to insert only blank spaces into a field using insert query. Its getting
> trimmed off.
> 
> 
> Regards,
> Murthy
> 


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to