What is wrong with my code as I'm getting this error:
PHP Notice: Use of undefined constant blocked - assumed 'blocked' in /home/public_html/message.php on line 11
What is wrong with my code as I'm getting this error:
PHP Notice: Use of undefined constant blocked - assumed 'blocked' in /home/public_html/message.php on line 11
Your code is like,
$curblocked = $result[blocked];
But it should be like,
$curblocked = $result['blocked'];