Posted by Geoff Berrow on 07/09/05 17:28
I noticed that Message-ID:
<daojhl$dj3$1@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com> from Margaret
contained the following:
>Thank you for your prompt reply, this is the line of code
>
><?php echo nl2br($mag['art_contents']) ?>
Hey that was a good guess on my part wasn't it?
Try replacing that line with this (make a backup first):
<?php
if(strpos($mag['art_contents'], "<table")===false){
echo nl2br($mag['art_contents']);
}
else{
echo $mag['art_contents'];
}
?>
>I really don't know what I'm doing. I only wish I could learn - I have
>a heap of books but can't get my head around programming or scripting at
>all.
Who needs books when you have Usenet? <g>
I found that I just needed a few successes to get me started. Never
bought a single book. Good luck, let us know how you get on.
--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011
[Back to original message]
|