Hi frnds....

i am inserting bulk data into database...here i phase small problem...when the data having (') single quotes it shows error...because php takes ' as many ways.....

i think htmlentites() tag is there in php...i dont know how it uses perfectlyy...
plz resolve this problem asap..

hi frnds..

sry 4 distrubing u...

mysql_real_escape_string($data);

this is the solution....

Thank u..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.