I'm comparing two strings in php. When I compare them like this it works:
if ("Original Mix" == "Original Mix")
echo "ok";
else
echo "not ok";
But when I compare it with my object, it doesn't. I tried to echo my object and the result is: Original Mix
if ($traccia->remix == "Original Mix")
echo "ok";
else
echo "not ok";
what's wrong with php?