so i usually use this format, which to my eyes
is much prettier :)
?
INPUT TYPE=TEXT VALUE=?= $hash['var'] ?
?
-Original Message-
From: James Stevens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 12:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Genera
You don't use a lot of javascript, do you?
Start your JS with \ and end it with \ inside PHP code.
No biggie.
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
this whole bench thing really needs someone to sit down and go i bet i
could write some code to see in less time then it would take to post ?
dont
get mad, people are allways posting this.
is this aster then that ?
write some code and see. its very hardware/os dependant. your
system
I dont think thats XHTML complient... Correct me if im wrong?
-Original Message-
From: Chris Lee [mailto:[EMAIL PROTECTED]]
Sent: 20 June 2001 23:50
To: [EMAIL PROTECTED]
Subject: Re: [PHP] General Coding Question
im here to start a flamewar.
dont use then. why not use ' ?
echo
On Thursday 21 June 2001 09:31, Ray Hilton wrote:
XML allows both single and double quotes for attributes, and XHTML is
defined as XML DTD, so it allows it too.
I dont think thats XHTML complient... Correct me if im wrong?
-Original Message-
im here to start a flamewar.
dont
is a lot easier to read when switching between large blocks
of html.
q.
-Original Message-
From: James Stevens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 10:23 AM
To: [EMAIL PROTECTED]
Subject: [PHP] General Coding Question
Does it have any effect on performance in either case
Does it have any effect on performance in either case if a file is
completely done in PHP(1) or interspersed with PHP(2).
(1)
?php
echo html;
...
?
(2)
html
...
?php echo $forminput; ?
...
Also, and this is personal preference, which is easier to read/debug?
James
--
PHP General Mailing
this whole bench thing really needs someone to sit down and go i bet i
could write some code to see in less time then it would take to post ? dont
get mad, people are allways posting this.
is this aster then that ?
write some code and see. its very hardware/os dependant. your system may be
]]
Sent: Wednesday, June 20, 2001 12:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] General Coding Question
Does it have any effect on performance in either case if a file is
completely done in PHP(1) or interspersed with PHP(2).
(1)
?php
echo html;
...
?
(2)
html
...
?php echo
ash['var'] ?
?
-Original Message-
From: James Stevens [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 12:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] General Coding Question
Does it have any effect on performance in either case if a file is
completely done in PHP(1) or interspersed wi
You don't use a lot of javascript, do you?
Chris Lee [EMAIL PROTECTED] wrote in message
9gr5f9$v2$[EMAIL PROTECTED]">news:9gr5f9$v2$[EMAIL PROTECTED]...
im here to start a flamewar.
dont use then. why not use ' ?
echo
input type=\text\ name=\name\ value=\$name\
echo
11 matches
Mail list logo