getting all data in mysql
Posted: Mon Sep 15, 2003 4:20 am
Hi all.
I have a script that read files content and save it on mysql db.
I have noticed that some files are not saved but I don't get any error from mysqlor php.
I turn the each file to a big string and store it as a row in the db.
I've used the function addslashes() before the storing and it solved most of the problems but still some strings are not stored.
The files are too big and I don't know which character is causing the problem (size of string is not the problem).
Any other functions besides addslashes that can help me?
Thanks....
I have a script that read files content and save it on mysql db.
I have noticed that some files are not saved but I don't get any error from mysqlor php.
I turn the each file to a big string and store it as a row in the db.
I've used the function addslashes() before the storing and it solved most of the problems but still some strings are not stored.
The files are too big and I don't know which character is causing the problem (size of string is not the problem).
Any other functions besides addslashes that can help me?
Thanks....