You are here: Recieving bits of SQL data « All PHP « IT news, forums, messages
Recieving bits of SQL data

Posted by Harry Rose on 08/14/05 02:46

Hi all, this has probably been posted many times before (sorry, i did
look, honest).

At the moment I'm trying to write my own portal and columns for my 'news
posts' table include one called 'contents', which has the contents of the
post in it and can hold up to 1000 characters.

First of all, this is type LongText which i thought would be better than
Blob (although to be honest i'm not sure what the difference is). Is that
ok?

Secondly, is there a command to only read the first 500
characters from that column? As my early attempts at doing something like
this didn't work because of an 8MB memory limit :-) (although that was
using blobs).

Having read that, thats more SQL question than PHP, but its for a PHP
project, I promise :).

Thanks

Harry

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация