¿Cómo debo imprimir un ">" antes de cada línea?Imprimir ">" en cada línea
if ($quoteid) {
echo '
> '.$quote['message'].'
';
}
Actualmente Parece que este:
> I would move Heaven and Hell and anything in between to get to you. You wouldn't be safe anywhere if I was mad at you. And that's not bull; that's truth. I've went up against people. You could pull a gun on me and if I'm mad at you I'm coming forward. You'd have to shoot me to stop me and if you don't kill me... you're stupid cause the next time you see me I will kill you.
quiero que se vea como esto:
> I would move Heaven and Hell and anything in between to get to you. > You wouldn't be safe anywhere if I was mad at you. > And that's not bull; that's truth. I've went up against people. > You could pull a gun on me and if I'm mad at you I'm coming forward. > You'd have to shoot me to stop me and if you don't kill me... you're stupid cause the next time you see me I will kill you.
Sustituir el carácter de nueva línea con una nueva línea a continuación, '>'. Sin embargo, no estoy seguro de los detalles en PHP. Espero que ayude.. –