cannot store data using file_get_contents in database

1 reply [Last post]
apeksha
Offline
Last seen: 7 years 1 week ago
Joined: 2009-09-18
bOt Points: 126

 hey hi

actually i wanted to retrieve some web pages and store them in my database.........

m using file_get_contents to get the contents.

however at the backend when i try n put it in my table it doesnot get entered...

m not able to understand where exactly is the error.... file_get_contents reads the file into a string...so if i have a string attribute within a table with a proper size shouldnt it go???or is there a limit upto which data can be stored in phpmyadmin.....i mean each page is approx 50 kb.....or maybe the format is different?

plz help.... 

apeksha
Offline
Last seen: 7 years 1 week ago
Joined: 2009-09-18
bOt Points: 126
solved....cannot store data....

 hey i guess i figured it out...it was bcoz the data size was exceeding my attribute size...once i had limit the dataset to few desired characters it worked.....:)