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

@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.

Jump to Post

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.