[PHP] Re: How to declare Vars in PHP?

2005-05-05 Thread Jon M.
ever seen! Thank you VERY much for taking the time to write that, I am the kind of person who wants to completely understand a subject (not just "how", but, "why" as well), and now I completely understand this particular part of PHP. -Jon "Ryan Faricy" &

[PHP] Re: Thanks, I understand now

2005-05-05 Thread Jon M.
erdorf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jon M. wrote: >> So, are you saying that it is absolutely "PHP-illegal" to do: > > Yes, it is illegal. Inside a class definition you can define properties > like this, but for regular vari

[PHP] How do you declare Vars in PHP? -I know it's not necessary, but I still want to know

2005-05-04 Thread Jon M.
ED]> wrote in message news:[EMAIL PROTECTED] Hi On 5/5/05, Jon M. <[EMAIL PROTECTED]> wrote: > I know in JavaScript, that you declare vars like so: > > var = variableName; > > So I'm assuming that in PHP you do it like this: > > var = $variableName; I think y

[PHP] Re: [suspicious - maybe spam] Re: [suspicious - maybe spam] [PHP] Simple question: How to declareVars in PHP? (I know it's not necessary, but I still want to know)

2005-05-04 Thread Jon M.
Name; in PHP??? Would it be ignored? Or would it screw up the interpreter? "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jon M. wrote: >> I know in JavaScript, that you declare vars like so: >> >> var = variableName; &

[suspicious - maybe spam] [PHP] How to declare Vars in PHP?

2005-05-04 Thread Jon M.
I know it's not necessary, but I still want to know how. I know in JavaScript, that you declare vars like so: var = variableName; So I'm assuming that in PHP you do it like this: var = $variableName; But there doesn't seem to be a single shred of documentation on PHP.net (or in ANY book) tha

[suspicious - maybe spam] [PHP] Simple question: How to declare Vars in PHP? (I know it's not necessary, but I still want to know)

2005-05-04 Thread Jon M.
I know in JavaScript, that you declare vars like so: var = variableName; So I'm assuming that in PHP you do it like this: var = $variableName; But there doesn't seem to be a single shred of documentation on PHP.net (or in ANY book) that covers this. All they say is that it's good pract

Re: [PHP] Is it possible to save a file with UTF-8 encoding and noBOM using PHP?

2005-05-03 Thread Jon M.
to be relevant anymore. Still, it is nice to have a program -like I do- that has that flexibility. -Jon "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, April 28, 2005 4:14 am, Jon M. said: >> No matter what I do to the strings to

Re: [PHP] Is it possible to save a file with UTF-8 encoding and noBOMusing PHP?

2005-05-02 Thread Jon M.
ime in the future! :) And hopefully I am right about what I said above, and not flaunting my ignorance once again -lol Thanks again, to everyone who helped me! You guys really got me on the right track. Not the least of which was simply causing me to think about what I was asking more deeply. -Jo

Re: [PHP] Is it possible to save a file with UTF-8 encoding and noBOM using PHP?

2005-04-28 Thread Jon M.
xt that is saved in the file? "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jon M. wrote: >> "Richard Lynch" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> >>>On Thu, April 21, 2005

Re: [PHP] Is it possible to save a file with UTF-8 encoding and no BOM using PHP?

2005-04-22 Thread Jon M.
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, April 21, 2005 5:07 pm, Jon M. said: >> I am trying to have a file that I generated with PHP saved as UTF-8 >> without >> the BOM (Byte Order Mark). Does PHP do anything l

[PHP] Is it possible to save a file with UTF-8 encoding and no BOM using PHP?

2005-04-21 Thread Jon M.
I am trying to have a file that I generated with PHP saved as UTF-8 without the BOM (Byte Order Mark). Does PHP do anything like this? I am a beginner with PHP, but very technically experienced otherwise. I'm talking about the FILE encoding here -just to be clear. e.g. fopen("what_ever_file",

[PHP] How to save a file with UTF-8 encoding and no BOM using PHP?

2005-04-21 Thread Jon M.
I am trying to have a file that I generated with PHP saved as UTF-8 without the BOM (Byte Order Mark). Does PHP do anything like this? I am a beginner with PHP, but very technically experienced otherwise. I'm talking about the FILE encoding here -just to be clear. e.g. fopen("what_ever_file",

[PHP] How to save a file with UTF-8 encoding and no BOM using PHP?

2005-04-21 Thread Jon M.
I am trying to have a file that I generated with PHP saved as UTF-8 without the BOM (Byte Order Mark). Does PHP do anything like this? I am a beginner with PHP, but very technically experienced otherwise. I'm talking about the FILE encoding here -just to be clear. e.g. fopen("what_ever_file",