Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Rasmus Lerdorf
There are many ways to do it. I prefer one of these two: ?php echo EOB table align=center width=$width EOB; ? or. table align=center width=?php echo $width? -Rasmus Micah Stevens wrote: I apologize, I was being rude. More specifically, I don't see why you say all html tags should be

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Micah Stevens
Rasmus, there's a shortcut for this: ?php echo $width? ?=$width? Saves me a lot of time, although it can be confusing for those unfamiliar with it. -Micah On Sunday 25 September 2005 11:01 pm, Rasmus Lerdorf wrote: There are many ways to do it. I prefer one of these two: ?php echo

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Esteamedpw
In a message dated 9/26/2005 1:34:20 A.M. Central Standard Time, [EMAIL PROTECTED] writes: Rasmus, there's a shortcut for this: ?php echo $width? ?=$width? Saves me a lot of time, although it can be confusing for those unfamiliar with it. -Micah I'm not sure if Rasmus would be

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Mark Jordan
boo ... short tags though i admit it's gotta be easier to type. Why I don't like short tags : I use XML a lot. Mark On 26/09/05, Micah Stevens [EMAIL PROTECTED] wrote: Rasmus, there's a shortcut for this: ?php echo $width? ?=$width? Saves me a lot of time, although it can be confusing

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Rasmus Lerdorf
Micah Stevens wrote: Rasmus, there's a shortcut for this: ?php echo $width? ?=$width? Saves me a lot of time, although it can be confusing for those unfamiliar with it. Yes, I am quite familiar with it ;) But I don't like it. It's an ugly ASP'ism. -Rasmus -- PHP Database

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread mario
On Sun, 2005-09-25 at 13:35, Daryl Booth wrote: $nachricht=The licence doesn't exist please contact us! ; close string! echo open string! table width= now, you need to escape , otherwise you close the string. I am used to do that in the following way, although I don't think it is the

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread mario
hi, silly question: what is EOB? google returns: Your search - EOB site:www.php.net - did not match any documents. I see your (short) side note on EOB on http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html EOB is not an entry in your 'programming PHP' (very nice) book

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Bastien Koert
Hey Micah, Nothing like telling the guy WHO WROTE THE LANGUAGE about its shortcuts...lol Bastien From: Rasmus Lerdorf [EMAIL PROTECTED] To: Micah Stevens [EMAIL PROTECTED] CC: php-db@lists.php.net Subject: Re: [PHP-DB] HTML Tables in PHP... Date: Sun, 25 Sep 2005 23:56:30 -0700 Micah

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Rasmus Lerdorf
mario wrote: hi, silly question: what is EOB? google returns: Your search - EOB site:www.php.net - did not match any documents. I see your (short) side note on EOB on http://www.oracle.com/technology/pub/articles/php_experts/rasmus_php.html EOB is not an entry in your 'programming

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Micah Stevens
It's ugly, but if I was looking for form versus ease of use, I'd wouldn't be using PHP. :) -Micah On Sunday 25 September 2005 11:56 pm, Rasmus Lerdorf wrote: Micah Stevens wrote: Rasmus, there's a shortcut for this: ?php echo $width? ?=$width? Saves me a lot of time, although

Re: [PHP-DB] HTML Tables in PHP...

2005-09-26 Thread Micah Stevens
] To: Micah Stevens [EMAIL PROTECTED] CC: php-db@lists.php.net Subject: Re: [PHP-DB] HTML Tables in PHP... Date: Sun, 25 Sep 2005 23:56:30 -0700 Micah Stevens wrote: Rasmus, there's a shortcut for this: ?php echo $width? ?=$width? Saves me a lot of time, although it can

RE: [PHP-DB] HTML Tables in PHP...

2005-09-25 Thread Murray @ PlanetThoughtful
How can I give a table /table with all of it's parameters in PHP in each of the cells there is a variable that gives me the data back but I can't get the table to show as it always gives me either this error Parse error: parse error, unexpected T_LNUMBER, expecting ',' or ';' in

Re: [PHP-DB] HTML Tables in PHP...

2005-09-25 Thread balwant singh
all html tags should be in single quote when used in php like echo 'table align=center width=80%'; echo 'trtd align=center'; echo HELLO; echo '/td/tr/table'; With Best Wishes Balwant Singh INDO ASIAN FUSEGEAR LTD. A-39, HOSIERY COMPLEX PHASE - II EXTN., NOIDA PH: +91

Re: [PHP-DB] HTML Tables in PHP...

2005-09-25 Thread Micah Stevens
I apologize, I was being rude. More specifically, I don't see why you say all html tags should be in single quotes. There's several ways you can do things in almost every situation in PHP, and I can just as easily say you should always use double quotes. I of course would be wrong though.