php-general Digest 12 Jan 2011 19:45:14 -0000 Issue 7129

2011-01-12 Thread php-general-digest-help
php-general Digest 12 Jan 2011 19:45:14 - Issue 7129 Topics (messages 310689 through 310703): Re: First PHP job 310689 by: Gary Re: HTML errors 310690 by: Pete Ford 310691 by: David McGlone 310692 by: David McGlone 310693 by: Steve Staples

[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: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; my PHP code: $categorys = array('home', 'services',

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: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

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 da...@dmcentral.net wrote: Hi Everyone, I'm having a problem validating some links I have in a foreach. Here is my code: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

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: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd;

Re: [PHP] HTML errors

2011-01-12 Thread Richard Quadling
On 12 January 2011 13:20, Steve Staples sstap...@mnsi.net 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

Re: [PHP] HTML errors

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 06:38, David McGlone da...@dmcentral.net 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

Re: [PHP] HTML errors

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 12:08, David Harkness davi...@highgearmedia.com 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

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: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; my PHP code: $categorys = array('home', 'services',

[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] 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

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

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 was

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's

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 14:45, 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

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Michael Shadle
On Wed, Jan 12, 2011 at 12:37 PM, Daniel Brown danbr...@php.net 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

Re: [PHP] Array Symbol Suggestion

2011-01-12 Thread Daniel Brown
On Wed, Jan 12, 2011 at 15:41, Michael Shadle mike...@gmail.com wrote: On Wed, Jan 12, 2011 at 12:37 PM, Daniel Brown danbr...@php.net 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

Re: [PHP] HTML errors

2011-01-12 Thread Admin
If you are going to use double quotes escape out. echo lia href='index.php?page=.$category.'.$replace./a/li; On Jan 12, 2011, at 2:30 PM, tedd tedd.sperl...@gmail.com 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

[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). -- hype WWW: plphp.dk / plind.dk

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

Re: [PHP] projectpier

2011-01-12 Thread Peter Lind
2011/1/12 Ashley Sheridan a...@ashleysheridan.co.uk 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

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 peter.e.l...@gmail.com wrote: 2011/1/12 Ashley Sheridan a...@ashleysheridan.co.uk On Wed, 2011-01-12 at 23:14 +0100, Peter Lind wrote: jeg har flyttet projectpier over paa

[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] Closure and $this

2011-01-12 Thread Greg Bair
On Wed, 12 Jan 2011 20:02:11 -0800 (PST) Raymond Irving xwis...@yahoo.com 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,

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 xwis...@yahoo.com 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

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 to, but

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: