When you are using variables then there is no need of single quote like $Name should be used instead of '$Name'.
So the correct code will be look like:
$sql="INSERT INTO $tbl(name, msg)VALUES($Name, $Msg)";
Jump to content
mnamjad hasn't added any friends yet.