MySQL Forums
Forum List  »  Newbie

Re: Insert command is failing
Posted by: sonam srivastava
Date: June 30, 2015 02:30PM

If you are getting the input from any type of forum remember to use trim() and mysqli_real_escape_string() function to allow any special character to insert which mainly we forgot to use it and i don't think primar_key is always needed, but it helps to organise the taable content.

Options: ReplyQuote


Subject
Written By
Posted
Re: Insert command is failing
June 30, 2015 02:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.