|
Thank you all for your help! I've now gotten it to work! the last problem I had was because I didn't run the query with $sql when I wanted to create the pages table, only when I wanted to insert the content. Therefore I had no table to insert the information into.
Is it really necessary to use mysql_real_escape_string() when don't have a user input that has any effect with that variable? like I do with $content_home. When I tried using it it wrote \r\n into the database instead of actually break a line.
|