With data set:
$row['message'] = 'Point And Click'
$viewspec_pref = 'no'
The condition strpos($row['message'], 'And Click') !== false && $viewspec_pref === "no" is true
With data set:
$row['message'] = 'Point And Click'
$viewspec_pref = 'yes'
The condition strpos($row['message'], 'And Click') !== false && $viewspec_pref === "no" is false
With data set:
$row['message'] = 'Do not Click'
$viewspec_pref = 'no'
The condition strpos($row['message'], 'And Click') !== false && $viewspec_pref === "no" is false
With data set:
$row['message'] = 'Do not Click'
$viewspec_pref = 'yes'
The condition strpos($row['message'], 'And Click') !== false && $viewspec_pref === "no" is false