[PHP-DB] Re: Amount of characters a variable is able to contain

2006-02-01 Thread Mathieu Dumoulin
I'm not sure where you are heading with this, but here goes, if you want to keep lots of data in mysql (PHP should not truncate your data) just use a LONG TEXT or TEXT... If im not mistaken, TEXT take 2^16 characters, so approximately 4 million characters while LONG TEXTS can take several giga

[PHP-DB] Re: Amount of characters a variable is able to contain

2005-11-17 Thread Rob C
I don't believe there is a way with file(), but there are alternatives. Firstly, does it need to be in an array? Does your script do anything else with $lineArray? If not, you'd be much better off just using file_get_contents() (http://php.net/file_get_contents) or, if you just want to output