Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Per Jessen
Donovan Brooke wrote: > however, from my experience, there is often this kind of problem in > any language, and that is where naming conventions come in very handy. > > I don't know if the PHP community has any standard convention.. One popular naming convention: http://en.wikipedia.org/wiki/H

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Per Jessen
Ashley Sheridan wrote: > On Wed, 2011-01-12 at 12:23 -0800, sono...@fannullone.us wrote: > >> Thanks for all the responses to my suggestion. I realize this would >> be a major change, so that's why I also mentioned it as an addition >> to the language. >> >> I'm sure it's just what you're used

Re: [PHP] Closure and $this

2011-01-12 Thread Larry Garfield
On Wednesday, January 12, 2011 11:37:19 pm Greg Bair wrote: > On Wed, 12 Jan 2011 20:02:11 -0800 (PST) > > Raymond Irving wrote: > > Hello, > > Does anyone know if closures will ever support the $this keyword? > > I think it would be very useful when working with objects. > > > > Best regards__

Re: [PHP] Closure and $this

2011-01-12 Thread Greg Bair
On Wed, 12 Jan 2011 20:02:11 -0800 (PST) Raymond Irving wrote: > Hello, > Does anyone know if closures will ever support the $this keyword?  > I think it would be very useful when working with objects. > > Best regards__RaymondDo more with less - http://raxanpdi.com > Probably not, and my unde

[PHP] Closure and $this

2011-01-12 Thread Raymond Irving
Hello, Does anyone know if closures will ever support the $this keyword?  I think it would be very useful when working with objects. Best regards__RaymondDo more with less - http://raxanpdi.com

Re: [PHP] projectpier

2011-01-12 Thread Camilo Sperberg
At least now we all know of the domainname change xD Sent from my iPhone On 12-01-2011, at 19:38, Peter Lind wrote: > 2011/1/12 Ashley Sheridan > >> On Wed, 2011-01-12 at 23:14 +0100, Peter Lind wrote: >> >> jeg har flyttet projectpier over paa fastaval.dk domaenet - >> det koerer nu under p

Re: [PHP] projectpier

2011-01-12 Thread Peter Lind
2011/1/12 Ashley Sheridan > On Wed, 2011-01-12 at 23:14 +0100, Peter Lind wrote: > > jeg har flyttet projectpier over paa fastaval.dk domaenet - > det koerer nu under pp.fastaval.dk. Der er ogsaa sat redirects op paa > fastaval.plphp.dk saa man skulle ikke kunne komme til det gamle site > (og de

Re: [PHP] projectpier

2011-01-12 Thread Ashley Sheridan
On Wed, 2011-01-12 at 23:14 +0100, Peter Lind wrote: > jeg har flyttet projectpier over paa fastaval.dk domaenet - > det koerer nu under pp.fastaval.dk. Der er ogsaa sat redirects op paa > fastaval.plphp.dk saa man skulle ikke kunne komme til det gamle site > (og dermed ikke logge ind det forkerte

[PHP] projectpier

2011-01-12 Thread Peter Lind
Heads up: jeg har flyttet projectpier over paa fastaval.dk domaenet - det koerer nu under pp.fastaval.dk. Der er ogsaa sat redirects op paa fastaval.plphp.dk saa man skulle ikke kunne komme til det gamle site (og dermed ikke logge ind det forkerte sted). -- WWW: plphp.dk / plind.dk LinkedIn: pli

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] Array Symbol Suggestion

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 15:41, Michael Shadle wrote: > On Wed, Jan 12, 2011 at 12:37 PM, Daniel Brown wrote: > >>    The @ is an error control operator, used to buffer the output and >> store it in a variable - $php_errormsg.  There's no way that would be >> changed to become an array designator

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Michael Shadle
On Wed, Jan 12, 2011 at 12:37 PM, Daniel Brown wrote: >    The @ is an error control operator, used to buffer the output and > store it in a variable - $php_errormsg.  There's no way that would be > changed to become an array designator (though that doesn't mean your > idea itself is a bad one).

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 14:45, wrote: > I'd like to make a suggestion for a change, or possibly an addition, to the > PHP language. > > I'm learning PHP and have been very excited with what it can do in relation > to HTML.  But when I got to the part about arrays, I was disappointed to see > t

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Joshua Kehn
On Jan 12, 2011, at 3:28 PM, Ashley Sheridan wrote: > If you check out the manual pages for those functions as well, you'll > see other related functions. I must say, of any language I've used, the > php.net documentation is by far the best, giving plenty of information > and user comments too. It

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Joshua Kehn
On Jan 12, 2011, at 3:23 PM, sono...@fannullone.us wrote: > Thanks for all the responses to my suggestion. I realize this would be a > major change, so that's why I also mentioned it as an addition to the > language. > > I'm sure it's just what you're used to, but still being new to all this,

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Ashley Sheridan
On Wed, 2011-01-12 at 12:23 -0800, sono...@fannullone.us wrote: > Thanks for all the responses to my suggestion. I realize this would be a > major change, so that's why I also mentioned it as an addition to the > language. > > I'm sure it's just what you're used to, but still being new to all

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread sono-io
Thanks for all the responses to my suggestion. I realize this would be a major change, so that's why I also mentioned it as an addition to the language. I'm sure it's just what you're used to, but still being new to all this, it just makes sense (to me anyway) to have different symbols for diff

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Steve Staples
On Wed, 2011-01-12 at 20:58 +0100, Per Jessen wrote: > sono...@fannullone.us wrote: > > > I'd like to make a suggestion for a change, or possibly an addition, > > to the PHP language. > > > > I'm learning PHP and have been very excited with what it can do in > > relation to HTML. But when I got

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Ashley Sheridan
On Wed, 2011-01-12 at 11:45 -0800, sono...@fannullone.us wrote: > I'd like to make a suggestion for a change, or possibly an addition, to the > PHP language. > > I'm learning PHP and have been very excited with what it can do in relation > to HTML. But when I got to the part about arrays, I wa

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Donovan Brooke
sono...@fannullone.us wrote: I'd like to make a suggestion for a change, or possibly an addition, to the PHP language. I'm learning PHP and have been very excited with what it can do in relation to HTML. But when I got to the part about arrays, I was disappointed to see that they are designa

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Per Jessen
sono...@fannullone.us wrote: > I'd like to make a suggestion for a change, or possibly an addition, > to the PHP language. > > I'm learning PHP and have been very excited with what it can do in > relation to HTML. But when I got to the part about arrays, I was > disappointed to see that they are

[PHP] Array Symbol Suggestion

2011-01-12 Thread sono-io
I'd like to make a suggestion for a change, or possibly an addition, to the PHP language. I'm learning PHP and have been very excited with what it can do in relation to HTML. But when I got to the part about arrays, I was disappointed to see that they are designated with a $ the same as other

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] Re: HTML errors

2011-01-12 Thread David McGlone
On Wednesday, January 12, 2011 04:14:42 am Pete Ford wrote: > On 12/01/11 03: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: > > $cate

[PHP] Re: HTML errors

2011-01-12 Thread Pete Ford
On 12/01/11 03: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', 'testimonials'); foreach($categ