Hello, This is the code snippet: $breadcrumbtrail = $breadcrumb->trail(' » '); $breadcrumbexploded = explode(";", $breadcrumbtrail); echo $breadcrumbexploded[0]; if ($breadcrumbexploded[0] == "&RAQUO") { echo "true"; } else { echo "false"; } Code (markup): That code returns the text "&RAQUOfalse" but it should return "&RAQUOtrue" since $breadcrumbexploded[0] == "&RAQUO". I can't figure out why it can't understand that $breadcrumbexploded[0] actuallt is &RAQUO. Best Regards Oskar R
I wonder why "&RAQUO" is in uppercase letters since it is in lowercase ones in the first line? But it seems that there is white space at the beginning of $breadcrumbexploded[0], so try: if (ltrim($breadcrumbexploded[0]) == "&RAQUO") { Code (markup):