This is a discussion on PHP, MySQL & storing HTML tags within the PHP General forums, part of the PHP Programming Forums category; Hello ng, I'm completely stuck with my PHP program. I'm using a form to add products to my ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello ng,
I'm completely stuck with my PHP program. I'm using a form to add products to my MySQL database. I specifically want to use HTML tags to be saved along with the text. I'm looking at a piece I code I can't imagine being incorrect... yet my query results in absolutely nothing, not even an error. $Query = "INSERT INTO products_description (products_id, language_id, products_name, products_description) VALUES ('$Temp', '1', '$Titel', '$Beschrijving')"; $QueryResultaat = mysql_query ($Query); Of course the connection to the database has been properly made, and above variables all have the right values. The only possible reason why this code won't work is because of HTML tags in $Beschrijving... I think. Please help me out here! I am going nuts.... I need to store the HTML tags in my MySQL database and if there's a special trick to get it to work, that would be great. However, the HTML tags need to be retrieved as well, so converting it to something else won't do. MUCH thanks in advance if you can fix this problem that's been stalling my progress for some hours now. Regards, Willem van der Berg |