Re: [PHP] HTML errors

2011-01-13 Thread Pete Ford
On 12/01/11 14:13, Richard Quadling wrote: On 12 January 2011 14:07, Steve Staples wrote: On Wed, 2011-01-12 at 13:40 +, Richard Quadling wrote: On 12 January 2011 13:20, Steve Staples wrote: Jim, Not to be a smart ass like Danial was (which was brilliantly written though), but you hav

Re: [PHP] HTML errors

2011-01-12 Thread Admin
If you are going to use double quotes escape out. >> echo "".$replace.""; On Jan 12, 2011, at 2:30 PM, tedd wrote: > At 10:35 PM -0500 1/11/11, David McGlone wrote: >> Hi Everyone, I'm having a problem validating some links I have in a foreach. >> Here is my code: >> > "http://www.w3.org/TR/ht

Re: [PHP] HTML errors

2011-01-12 Thread tedd
At 10:35 PM -0500 1/11/11, David McGlone wrote: Hi Everyone, I'm having a problem validating some links I have in a foreach. Here is my code: http://www.w3.org/TR/html4/loose.dtd";> my PHP code: $categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us', 'testimonials'); foreach

Re: [PHP] HTML errors

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 12:08, David Harkness wrote: > > I tried this with PHP 5.3.2 on Ubuntu 10.04, but when I run any PHP script I > get the following. > >    Fatal error in php.ini line 184: Saying a thing doesn't make it so. > > What does this mean? Looks like you may have installed the

Re: [PHP] HTML errors

2011-01-12 Thread David Harkness
On Wed, Jan 12, 2011 at 6:04 AM, David McGlone wrote: > Prounouncing words for a deaf person is often times difficult. > That makes perfect sense. Think about it, > spelling isn't about remembering how to spell the word, but how to > prounounce > it. Not so fast! While this argument can be ma

Re: [PHP] HTML errors

2011-01-12 Thread Richard Quadling
On 12 January 2011 14:07, Steve Staples wrote: > On Wed, 2011-01-12 at 13:40 +, Richard Quadling wrote: >> On 12 January 2011 13:20, Steve Staples wrote: >> > Jim, >> > >> > Not to be a smart ass like Danial was (which was brilliantly written >> > though),  but you have your "example" formatt

Re: [PHP] HTML errors

2011-01-12 Thread Steve Staples
On Wed, 2011-01-12 at 13:40 +, Richard Quadling wrote: > On 12 January 2011 13:20, Steve Staples wrote: > > Jim, > > > > Not to be a smart ass like Danial was (which was brilliantly written > > though), but you have your "example" formatted incorrectly. You are > > using commas instead of pe

Re: [PHP] HTML errors

2011-01-12 Thread David McGlone
On Wednesday, January 12, 2011 08:43:35 am Daniel Brown wrote: > On Wed, Jan 12, 2011 at 06:38, David McGlone wrote: > > Goes to show ya, even Deaf people aren't perfect spellers. Still like > > your little joke? ;-) > > Of course I do. Deafness has nothing to do with spelling. If it > did,

Re: [PHP] HTML errors

2011-01-12 Thread Richard Quadling
On 12 January 2011 13:43, Daniel Brown wrote: > On Wed, Jan 12, 2011 at 06:38, David McGlone wrote: >> >> Goes to show ya, even Deaf people aren't perfect spellers. Still like your >> little joke? ;-) > >    Of course I do.  Deafness has nothing to do with spelling.  If it > did, just imagine how

Re: [PHP] HTML errors

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 06:38, David McGlone wrote: > > Goes to show ya, even Deaf people aren't perfect spellers. Still like your > little joke? ;-) Of course I do. Deafness has nothing to do with spelling. If it did, just imagine how ridiculously difficult it would've been to decipher any

Re: [PHP] HTML errors

2011-01-12 Thread Richard Quadling
On 12 January 2011 13:20, Steve Staples wrote: > Jim, > > Not to be a smart ass like Danial was (which was brilliantly written > though),  but you have your "example" formatted incorrectly.  You are > using commas instead of periods for concatenation, and it would have > thrown an error trying to

Re: [PHP] HTML errors

2011-01-12 Thread Steve Staples
On Tue, 2011-01-11 at 23:38 -0800, Jim Lucas wrote: > On 1/11/2011 7:35 PM, David McGlone wrote: > > Hi Everyone, I'm having a problem validating some links I have in a foreach. > > Here is my code: > >> "http://www.w3.org/TR/html4/loose.dtd";> > > > > my PHP code: > > $categorys = array('home'

Re: [PHP] HTML errors

2011-01-12 Thread David McGlone
On Tuesday, January 11, 2011 11:48:33 pm Daniel Brown wrote: > On Tue, Jan 11, 2011 at 22:35, David McGlone wrote: > > Hi Everyone, I'm having a problem validating some links I have in a > > foreach. Here is my code: > > > "http://www.w3.org/TR/html4/loose.dtd";> > > > > my PHP code: > > $categ

Re: [PHP] HTML errors

2011-01-11 Thread Jim Lucas
On 1/11/2011 7:35 PM, David McGlone wrote: Hi Everyone, I'm having a problem validating some links I have in a foreach. Here is my code: http://www.w3.org/TR/html4/loose.dtd";> my PHP code: $categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us', 'testimonials'); foreach($ca

Re: [PHP] HTML errors

2011-01-11 Thread Daniel Brown
On Tue, Jan 11, 2011 at 22:35, David McGlone wrote: > Hi Everyone, I'm having a problem validating some links I have in a foreach. > Here is my code: >   "http://www.w3.org/TR/html4/loose.dtd";> > > my PHP code: > $categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us', > 'testi

Re: [PHP] HTML errors

2011-01-11 Thread Chen Dong
Hi David: Quote your attribute value in "..." On Wed, Jan 12, 2011 at 2:35 PM, David McGlone wrote: > Hi Everyone, I'm having a problem validating some links I have in a > foreach. > Here is my code: > "http://www.w3.org/TR/html4/loose.dtd";> > > my PHP code: > $categorys = array('home', 'ser

[PHP] HTML errors

2011-01-11 Thread David McGlone
Hi Everyone, I'm having a problem validating some links I have in a foreach. Here is my code: http://www.w3.org/TR/html4/loose.dtd";> my PHP code: $categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us', 'testimonials'); foreach($categorys as $category){ $replace = str_replace