What’s wrong with this code “$a = $get_user_meta(1, ‘wpj_skills’, true);”?

Hi there

Any thoughts on what is the mistake here, the marked line causes the code to break.

$checked = "";
$a = $get_user_meta(1, 'wpj_skills', true); //This line throws error
if (strpos($a, 'php') !== false)
{
	$checked = "checked";	
}

Thanks.

  • This topic was modified 2 days, 14 hours ago by mplusplus.



Source link