short_open_tag
Dallas Cahker wrote:
What is that called and where in the php.ini file do I enable it? Sorry if
this is a stupid question but since I dont know what its called it makes it
difficult to google it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Short tags in the php.ini file.
On 4/6/06, Dallas Cahker <[EMAIL PROTECTED]> wrote:
> What is that called and where in the php.ini file do I enable it? Sorry if
> this is a stupid question but since I dont know what its called it makes it
> difficult to google it.
>
>
--
PHP General Mailing Lis
What is that called and where in the php.ini file do I enable it? Sorry if
this is a stupid question but since I dont know what its called it makes it
difficult to google it.
Something I've laboured over for years, in various languages (same issue
in perl, ASP, JSP...).
My personal preference depends on how much of what is being dumped. If
it's a really simple page, then do it in line, I tend to indent it as a
seperate tree to the php code (ie there are two staggers)
Jason Barnett wrote:
Tim Burgan wrote:
Hi everyone,
What 'rules' do you follow about styling/formatting your PHP code? Do
you follow a guide that is available online?
Please do not flame me here, different strokes for
different folks!
:-)
...
And that's fine. The main thing is: aim for consist
Tim Burgan wrote:
Hi everyone,
What 'rules' do you follow about styling/formatting your PHP code? Do
you follow a guide that is available online?
I generally have my own preference for formatting like
if ( condition )
{
statements;
}
which personally I think is ugly and a waste of space ;-)
(a
Tim Burgan wrote:
Hi everyone,
What 'rules' do you follow about styling/formatting your PHP code? Do
you follow a guide that is available online?
Please do not flame me here, different strokes for
different folks!
If you're entirely new to coding in PHP ... and you don't have a
codebase already
try http://pear.php.net/manual/en/standards.php
On Wed, 12 Jan 2005 23:34:59 +1030, Tim Burgan <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> What 'rules' do you follow about styling/formatting your PHP code? Do
> you follow a guide that is available online?
>
> I generally have my own preferenc
* Tim Burgan <[EMAIL PROTECTED]>:
> What 'rules' do you follow about styling/formatting your PHP code? Do
> you follow a guide that is available online?
PEAR standards are fairly well-accepted:
http://pear.php.net/manual/en/standards.php
> I generally have my own preference for formatting like
>
Hi everyone,
What 'rules' do you follow about styling/formatting your PHP code? Do
you follow a guide that is available online?
I generally have my own preference for formatting like
if ( condition )
{
statements;
}
for all conditional statements and loops, as opposed to
if (condition) {
st
Adam Bregenzer wrote:
You have to use javascript or
some other client side language to change anything on a page once it is
loaded in the browser.
Perhaps with a minor exception: with mozilla, you can select
a stylesheet to apply (menu view / use style).
From the CSS 1 spec [1]:
The 'LINK' element
On Wed, 2004-02-04 at 04:47, Freedomware wrote:
> Hm... I haven't found Kumar's style sheet switcher post yet, but if
> you say it can't be done, I'll take your word for it.
The problem here is your approach. PHP can only be used to control the
content sent to browsers. Once the browser rec
Hm... I haven't found Kumar's style sheet switcher post yet, but if
you say it can't be done, I'll take your word for it.
Thanks for the tip.
Raditha Dissanayake wrote:
Hi,
This is explained in Kumar's mail which was sent out a little while ago.
If you didn't see it an older version is arc
Hi,
This is explained in Kumar's mail which was sent out a little while ago.
If you didn't see it an older version is archived here:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg128334.html
but in short it can't be done.
Does anyone know if there's a PHP method that does NOT involve
reload
I have a JavaScript style sheet switcher that works quite nicely, but I
want to make a MULTI-style switcher; one that lets you switch various
items independently of one another.
It sounds like it can be done with either PHP or JavaScript, each with
its own advantages. The biggest disadvantage w
I've been using JavaScript style switchers combined with "alternate
style sheets," allowing users to control the appearance of my web pages.
However, I recently read that you can make style switchers with PHP -
which are allegedly superior to JavaScript style sheets. Then I fou
Looking for info on recommended PHP style conventions. I've seen the Pear
style conventions, and they seem fairly good, but I'm interested in
something that covers more ground, like what's the best way to name
included files (*.inc?) class files, etc., what's the recommend
A
7. see if changes are shown in B
-Original Message-
From: Alok K. Dhir [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 6:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP] OO-PHP Style question
(sent this to the wrong list the first time - apologies in advance)
Given an app with t
(sent this to the wrong list the first time - apologies in advance)
Given an app with the following overall class structure:
Base.class {
function Base() {
##initialize stuff
}
}
A.class extends Base {
var $var;
var $b;
function A() {
19 matches
Mail list logo