I want to put a html code inside my table row, so that i can select it later. I had variables hstatus1 and hstatus2, the meaning are htmlstatus1 and htmlstatus2. It's work if i fill words, but if i fill html code, it doesn't work. Because i want to make a query select later and i never INSERT INTO like this before, but i can SELECT the html record before. tq
mycode:
<?php
include("10rbkcon.php"); //connection db
$username2='kampret';
$status1="following";
$status2="follower";
$hstatus1="<font color='black'>following</font>"; //the problem is in here
$hstatus2="<font color='blue'>follower</font>"; //and here
$ssloginmember=$_SESSION[ssloginmember];
$username=$ssloginmember;
mysql_query("INSERT INTO t_follow(username,username2,status,hstatus) VALUES('$username','$username2','$status1','$hstatus1')");
?>