You are here: Re: Table in MySql database « All PHP « IT news, forums, messages
Re: Table in MySql database

Posted by Margaret on 07/09/05 17:46

Geoff Berrow wrote:
> 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.
>
That works, thank you very much, it is so good to know that there are
kind, helpful people out there. It alleviates a bit the shocking news
about a dear friend of ours who was caught up in one of the bombs on
Thursday and is critcally ill. (Sorry, OT I know)

If you want to see your handywork go to
http://www.hampsteadparishchurch.org.uk/ though I still have to work
out why there are such large gaps between lines.

Many thanks
Margaret

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация