<?php
foreach (data as line) {
cd = bzcompress (line);
mysql_query (insert into table values ('cd') )
}
I'm finding that when the string "cd" contains a (guessing) 0x0A (think thats a CR) I have EndOfData and the insert terminates. Makes for a mess when I then "select line from table".
Thoughts? Soultions?
A beer for the best answer