RE: [PHP] New to PHP question

2009-05-11 Thread Robert Cummings
On Wed, 2009-01-28 at 23:42 +, Ashley Sheridan wrote: I hate div'itis as well. Some people seem to think it's a big faux pas to use table tags now, when that couldn't be more wrong. Use tables for tabular data, CSS for the rest (with as few exceptions - and there are always some eh - as

[PHP] New to PHP question

2009-01-28 Thread Don Collier
I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I use the \n and run the script from the command line it works great. When I run the same code in a browser it does not put

Re: [PHP] New to PHP question

2009-01-28 Thread Per Jessen
Don Collier wrote: First, when I use the \n and run the script from the command line it works great. When I run the same code in a browser it does not put the newline in and the text runs together. I know that I can use br/ to do the same thing, but why is it this way? That's how HTML

Re: [PHP] New to PHP question

2009-01-28 Thread Stephen
Don Collier wrote: I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I use the \n and run the script from the command line it works great. When I run the same code in a

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I use the \n and run the script from the command line it works

Re: [PHP] New to PHP question

2009-01-28 Thread Stephen
Paul M Foster wrote: If you want exact layout (columns lined up, etc.), the simplest solution is to use HTML tables. The horror. Do not use tables for layout. Use CSS. Especially now that Microsoft, just this week, is sending out IE 8 which seems to be fully CCS standards compliant.

Re: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
On Wed, 2009-01-28 at 14:40 -0500, Stephen wrote: Especially now that Microsoft, just this week, is sending out IE 8 which seems to be fully CCS standards compliant. *snigger* I'll believe that when I see it, rather I give it to you oh web developers everywhere, that this is just a new M$

Re: [PHP] New to PHP question

2009-01-28 Thread Don Collier
Paul M Foster wrote: On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I use the \n and run the script from

Re: [PHP] New to PHP question

2009-01-28 Thread Bastien Koert
On Wed, Jan 28, 2009 at 2:58 PM, Don Collier dcoll...@collierclan.comwrote: Paul M Foster wrote: On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it

Re: [PHP] New to PHP question

2009-01-28 Thread Stuart
2009/1/28 Stephen stephe...@rogers.com: Don Collier wrote: I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I use the \n and run the script from the command line it works

Re: [PHP] New to PHP question

2009-01-28 Thread Per Jessen
Don Collier wrote: From what I am seeing in the responses if I plan on using php for command line scripts things get written one way. If, on the other hand, the php is written for a web page it gets written a slightly different way inserting html where necessary for formatting. No, the

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 02:40:55PM -0500, Stephen wrote: Paul M Foster wrote: If you want exact layout (columns lined up, etc.), the simplest solution is to use HTML tables. The horror. Do not use tables for layout. Use CSS. Especially now that Microsoft, just this week, is sending

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 03:06:36PM -0500, Bastien Koert wrote: On Wed, Jan 28, 2009 at 2:58 PM, Don Collier dcoll...@collierclan.comwrote: On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a

Re: [PHP] New to PHP question

2009-01-28 Thread Ernie Kemp
, January 28, 2009 2:40 PM Subject: Re: [PHP] New to PHP question Paul M Foster wrote: If you want exact layout (columns lined up, etc.), the simplest solution is to use HTML tables. The horror. Do not use tables for layout. Use CSS. Especially now that Microsoft, just this week

Re: [PHP] New to PHP question

2009-01-28 Thread Bastien Koert
On Wed, Jan 28, 2009 at 3:28 PM, Paul M Foster pa...@quillandmouse.comwrote: On Wed, Jan 28, 2009 at 03:06:36PM -0500, Bastien Koert wrote: On Wed, Jan 28, 2009 at 2:58 PM, Don Collier dcoll...@collierclan.com wrote: On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote:

Re: [PHP] New to PHP question

2009-01-28 Thread Don Collier
Paul M Foster wrote: See? This is what I'm talking about. *I* understand what you're saying, Don, and I agree. But this guy is just learning PHP from what is arguably not one of the best books on PHP (IMO). And you're throwing MVC at him. Let him master the subtleties of the language first,

Re: [PHP] New to PHP question

2009-01-28 Thread Frank Stanovcak
Don Collier dcoll...@collierclan.com wrote in message news:4980c3d3.8040...@collierclan.com... Paul M Foster wrote: See? This is what I'm talking about. *I* understand what you're saying, Don, and I agree. But this guy is just learning PHP from what is arguably not one of the best books

Re: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
On Wed, 2009-01-28 at 13:45 -0700, Don Collier wrote: Paul M Foster wrote: See? This is what I'm talking about. *I* understand what you're saying, Don, and I agree. But this guy is just learning PHP from what is arguably not one of the best books on PHP (IMO). And you're throwing MVC

Re: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
On Wed, 2009-01-28 at 15:17 -0500, Paul M Foster wrote: On Wed, Jan 28, 2009 at 02:40:55PM -0500, Stephen wrote: Paul M Foster wrote: If you want exact layout (columns lined up, etc.), the simplest solution is to use HTML tables. The horror. Do not use tables for layout.

Re: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
...@quillandmouse.com Cc: php-general@lists.php.net Sent: Wednesday, January 28, 2009 2:40 PM Subject: Re: [PHP] New to PHP question Paul M Foster wrote: If you want exact layout (columns lined up, etc.), the simplest solution is to use HTML tables. The horror. Do not use tables

Re: [PHP] New to PHP question

2009-01-28 Thread mike
On Wed, Jan 28, 2009 at 1:26 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: I use CSS as much as possible, and it's second nature to me now to design with CSS rather than tables, but the only area I find it quicker to use tables is when I design forms. I know I'm going to browser hell,

RE: [PHP] New to PHP question

2009-01-28 Thread Boyd, Todd M.
-Original Message- From: Stephen [mailto:stephe...@rogers.com] Sent: Wednesday, January 28, 2009 1:41 PM To: Paul M Foster Cc: php-general@lists.php.net Subject: Re: [PHP] New to PHP question Paul M Foster wrote: If you want exact layout (columns lined up, etc.), the simplest

Re: [PHP] New to PHP question

2009-01-28 Thread Shawn McKenzie
Boyd, Todd M. wrote: -Original Message- From: Stephen [mailto:stephe...@rogers.com] Sent: Wednesday, January 28, 2009 1:41 PM To: Paul M Foster Cc: php-general@lists.php.net Subject: Re: [PHP] New to PHP question Paul M Foster wrote: If you want exact layout (columns lined up

Re: [PHP] New to PHP question

2009-01-28 Thread Stephen
Boyd, Todd M. wrote: The horror. Do not use tables for layout. Use CSS. Especially now that Microsoft, just this week, is sending out IE 8 which seems to be fully CCS standards compliant. Your high horse--get off of it. Dude! Did you read what I wrote? I wrote do not use tables for

RE: [PHP] New to PHP question

2009-01-28 Thread Boyd, Todd M.
-Original Message- From: Stephen [mailto:stephe...@rogers.com] Sent: Wednesday, January 28, 2009 4:40 PM Cc: php-general@lists.php.net Subject: Re: [PHP] New to PHP question Boyd, Todd M. wrote: Finally, just because IE8 is (supposed to be) fully CSS standards compliant

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 01:45:07PM -0700, Don Collier wrote: On that note, what would be a better book to learn from? I have always been a fan of the O'Reilly books, but I am open to differing flavors of kool-aid. One can never have too many resources. The book that sits on my desk and is

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 03:33:19PM -0500, Ernie Kemp wrote: Is there any advantage to using CSS over table and would it be idea to go to past website and change them. If it works, don't fix it. If you want to take the time to figure out how to get those same layouts in CSS, have a blast. But

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 09:26:10PM +, Ashley Sheridan wrote: snip I use CSS as much as possible, and it's second nature to me now to design with CSS rather than tables, but the only area I find it quicker to use tables is when I design forms. I know I'm going to browser hell, but meh,

RE: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
On Wed, 2009-01-28 at 16:05 -0600, Boyd, Todd M. wrote: -Original Message- From: Stephen [mailto:stephe...@rogers.com] Sent: Wednesday, January 28, 2009 1:41 PM To: Paul M Foster Cc: php-general@lists.php.net Subject: Re: [PHP] New to PHP question Paul M Foster wrote

Re: [PHP] New to PHP question

2009-01-28 Thread Nathan Rixham
Paul M Foster wrote: On Wed, Jan 28, 2009 at 09:26:10PM +, Ashley Sheridan wrote: snip I use CSS as much as possible, and it's second nature to me now to design with CSS rather than tables, but the only area I find it quicker to use tables is when I design forms. I know I'm going to

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 11:41:31PM +, Nathan Rixham wrote: Paul M Foster wrote: On Wed, Jan 28, 2009 at 09:26:10PM +, Ashley Sheridan wrote: snip I use CSS as much as possible, and it's second nature to me now to design with CSS rather than tables, but the only area I find it

Re: [PHP] New to PHP question

2009-01-28 Thread Don Collier
Paul M Foster wrote: On Wed, Jan 28, 2009 at 01:45:07PM -0700, Don Collier wrote: On that note, what would be a better book to learn from? I have always been a fan of the O'Reilly books, but I am open to differing flavors of kool-aid. One can never have too many resources. The

[PHP] new to php question

2004-03-10 Thread Luke Brindley
I'm new to php but want to use it for a music club's website I'm working on. Specifically, I want to create an online form that the booking agent can fill out with information like Date, Time, Cover Charge, Band Name, Description, etc and have this data populate the calendar page in

RE: [PHP] new to php question

2004-03-10 Thread Chris W. Parker
Luke Brindley mailto:[EMAIL PROTECTED] on Wednesday, March 10, 2004 10:37 AM said: Specifically, I want to create an online form that the booking agent can fill out with information like Date, Time, Cover Charge, Band Name, Description, etc and have this data populate the calendar page in