I am sorry for all the posts my son is screaming and I cant gather my thoughts the field is named value and is set to Text utf8_unicode_ci but I can change that if needed
Also as a work around if you know a php function to load the entire contents of a text file into a specified table and row that would also be a workable solution for me.
OK I have a variable called $bc which contains a very long string of html that has been scraped from another page.
I have 2 mysql query's in a row the first one works fine the second one that uses the $bc variable doesn't but also returns no errors.
this one works
mysql_query("INSERT INTO...
I have a variable that contains a large amount of scraped html code and I would like to insert it into a mysql database.
I can echo or print the variable no problem but when I try inserting it into the database it seems to be null.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.