I want to send a string with a link to a database, but i can't get this to work, and really dont know what to search for on google..
I try this:
$string = "Here is a <a href='index.php?link=her'>LINK</a>. Click if you want.";
mysql_query("INSERT INTO my_db (row) VALUES ('$string')");
But it doesn't seem to add this to the database. I tried some stuff, but best case scenario, when i show the input from the database, it just shows my a tag as pure text...
How can I get this to work? Thanks.