Hi

Is it possible to insert nl2br to these two? <?php print $laes_artikel ["artikel"]; ?> and <?php print substr($row["beskrivelse"], 0, 250); ?> .. If so, can someone tell me how?

Thanks for now.

<?php echo nl2br($whatever) ?>
<?php echo nl2br(substr($whatever)) ?>

Yeah I just did that..

But for some reason it wouldnt let me echo it out before in my entire script, I found a workaround tho..

Thanks for answer!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.