$qry = "SELECT * FROM nl_lang_var";
if($qry === false)
{
$sql = "INSERT INTO nl_lang_var set value='$value' WHERE name='$var' and langid=$langid"; }
else {
echo "already existed"; }
I want to know if the table nl_lang_var exists or not.
If it doesn't exist it must insert, otherwise give message.