I do not understand the reason why the following rule returns to me in this case the value 0. The code in PHP is this:
$contador = (strpos($posts[0]['Codigo_juego'],$usuario_color['siguiendo_juegos']) !== FALSE) ? 1 : 0;
What results in this:
$contador = (strpos("c3kldkzbhncz","bzf7k34wnwc2;c3kldkzbhncz;") !== FALSE) ? 1 : 0;
echo $contador; //me devuelve siempre 0;
The string I'm looking for is inside the string, I should return the value 1, but it returns 0.