Hola,
necesito obtener los resultados de un codigo html dentro de las etiquetas
<!--inicioimpresion--> y <!--finimpresion-->
tengo este codigo:
$startingpoint = "<!--inicioimpresion-->";
$endingpoint = "<!--finimpresion-->";
$start= strpos($value, "$startingpoint");
$finish= strpos($value, "$endingpoint");
$length= $finish-$start;
$value=substr($value, $start, $length);
y luego hago un echo a $value pero no me resulta no me muestra nada.
Espero su ayuda,
muchas gracias y saludos.