Hi.

Well, i'm trying to add new data to mysql,

<input type="text" name="name"/>
     example: Billy Boy

when I check mysql table, it shows "BillyBoy"

How do I fix that error?

Thank you.

Recommended Answers

All 3 Replies

could you post the script of inserting the data

Member Avatar

@s0wh4t

How do I fix that error?

Can you post your php & mysql code. There a few ways to fixed that you can used "/n" at end of the query or used a this function:

mysql_real_escape_string()

I think it's much easier just post your code.

got it fixed, thanks

Be a part of the DaniWeb community

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