Re: [PHP] Half way

2008-10-23 Thread tedd
At 5:27 PM +0200 10/22/08, Jochem Maas wrote: personally I prefer the solution where there is no ad shown at all. I hear that -- I hate it when you develop a beautiful site for a client and then they want to hang ads off it -- and then complain about the site being too wide. Can't win Che

RE: [PHP] Half way

2008-10-22 Thread Ashley Sheridan
On Wed, 2008-10-22 at 10:43 -0500, Boyd, Todd M. wrote: > > -Original Message- > > From: Jochem Maas [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, October 22, 2008 10:27 AM > > To: [EMAIL PROTECTED] > > Cc: PHP General > > Subject: Re: [PHP] Half way &

RE: [PHP] Half way

2008-10-22 Thread Boyd, Todd M.
> -Original Message- > From: Jochem Maas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2008 10:27 AM > To: [EMAIL PROTECTED] > Cc: PHP General > Subject: Re: [PHP] Half way > > Ian schreef: > > On 22 Oct 2008 at 6:34, Ron Piggott wrote: > > &

Re: [PHP] Half way

2008-10-22 Thread Jochem Maas
Ian schreef: > On 22 Oct 2008 at 6:34, Ron Piggott wrote: > >> I am tweaking a blog application I have programmed. I am trying to >> display a Google ad half through the blog entry, at the first available >> . >> >> The code I use so far is: >> >> $half_way = strlen( nl2br(stripslashes($entry)))

Re: [PHP] Half way

2008-10-22 Thread Ian
On 22 Oct 2008 at 6:34, Ron Piggott wrote: > I am tweaking a blog application I have programmed. I am trying to > display a Google ad half through the blog entry, at the first available > . > > The code I use so far is: > > $half_way = strlen( nl2br(stripslashes($entry))) /2 ; > $ad_position =