The problem does not happen using the home WAMP server. I have tried two remote hosts with the same results. The textareas' hold some code that can be edited and later used on the website.
Eg: Correct data in textarea:
<form action="login.php" method="post">
After first posting to PHP and SQLite database:
<form action=\"login.php\" method=\"post\">
And after two posts:
<form action=\\\"login.php\\\" method=\\\"post\\\">
So when I go to use this changed code, it does not work because of all the .
Note: It is not only "
but also any '
I have checked my PHP and SQLite code and can't find any errors, and because it only happens on remote hosts. I tried googling but nothing came up. Might be googling this wrong.
Is there a way to fix this or bypass it?