Support forums
in

Problem with mysql insert

Last post 09-18-2012, 7:24 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  09-18-2012, 3:23 AM 74671

    Problem with mysql insert

    Hello, I noticed a problem that when I get $_POST["Editor1"] value and I want it to post in my DB, in case if I have modified any part of text with fonts which are from Simple template (Comic Sans MS, Lucida console and Times New Roman) the MySQL INSERT query doesn't work, for all other fonts query works.. I'm not sure what's the problem but I believe that it could be something with spaces in Common.config file, i've tryed to change spaces with   but it only gave me error "Error while parsing the Configuration fileConfiguration/Shared/Common.config".

    Can anyone help me resolve this? Thanks. 

  •  09-18-2012, 7:24 AM 74673 in reply to 74671

    Re: Problem with mysql insert

    Hi Sangsom,

     

    What you changed in the Common.config? What you want to achieve with it?

     

    Try add a textbox in your page, andd type the content below into the textbox, then get the value and save it into the db, does it get any problem? If you get the same problem with it, then you should check your db setting of the insert code, why it does not work with the content like that. this just the simple html content.

     

    <span style="font-family: 'Times New Roman'; ">test</span>
     

     

    Regards,

     

    Ken 

View as RSS news feed in XML
Powered by Community Server (Commercial Edition), by Telligent Systems