RE: [PHP-WIN] syntax for remove column

2003-11-26 Thread Svensson, B.A.T. (HKG)
Actually it shoul be: "go and read the fine manual", RTFM, however for the none sensitive audience "fine" should be spelled "fucking". -Original Message- From: Donatas To: [EMAIL PROTECTED] Sent: 2003-11-26 08:46 Subject: Re: [PHP-WIN] syntax for remove co

RE: [PHP-WIN] syntax for remove column

2003-11-26 Thread Svensson, B.A.T. (HKG)
ALTER TABLE DROP COLUMN -Original Message- From: Rinku Shivnani To: [EMAIL PROTECTED] Sent: 2003-11-26 07:36 Subject: [PHP-WIN] syntax for remove column Dear all, I want to delete one column from my table. Can any of you tell me syntax for it pls ? Thank you -- PHP Windows Mailing

Re: [PHP-WIN] syntax for remove column

2003-11-26 Thread Ignatius Reilly
I would start here: "How To Ask Questions The Smart Way", an excellent (as always) article by Eric Raymond http://www.catb.org/~esr/faqs/smart-questions.html HTH _ - Original Message - From: "Rinku Shivnani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesd

Re: [PHP-WIN] syntax for remove column

2003-11-26 Thread Donatas
The syntax is called "go and read the damn manual"! http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#ALTER_TABLE Rinku Shivnani wrote: Dear all, I want to delete one column from my table. Can any of you tell me syntax for it pls ? Thank you -- PHP Windows Mailing L

Re: [PHP-WIN] Syntax Error on Win2000-Apache

2003-03-25 Thread Arijit Chaudhuri
Absolutely - the "display_errors = On" was missing in php.ini. Thanks everyone! Arijit "Paolo Bonavoglia" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 22:47 25/03/2003 25/03/2003, you wrote: > >My Win2000-Apache-PHP-MySQL setup works fine. I shifted to Apache from IIS > >due t

Re: [PHP-WIN] Syntax Error on Win2000-Apache

2003-03-25 Thread Paolo Bonavoglia
At 22:47 25/03/2003 25/03/2003, you wrote: My Win2000-Apache-PHP-MySQL setup works fine. I shifted to Apache from IIS due to the cookie-redirection problem of IIS. The only problem with my setup is - when there is a syntax error in php code, it does not show any error messages - just a clean bla

Re: [PHP-WIN] Syntax

2002-07-23 Thread Jason Soza
That's (roughly) a shorthand if statement. (if)?(then):(else); So this: if($i==0) { $i++; } else { $i*20; } Is the same as this: ($i==0)?($i++):($i*20); Jason Soza - Original Message - From: "Kit Kerbel" <[EMAIL PROTECTED]> Date: Tuesday, July 23, 2002 11:

RE: [PHP-WIN] Syntax

2002-07-23 Thread Rich Gray
If $i equals 0 then return $i else return $i multiplied by 20 -Original Message- From: Kit Kerbel [mailto:[EMAIL PROTECTED]] Sent: 23 July 2002 12:35 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Syntax What, if you please, does this syntax denote exactly. ($i==0?($i):($i*20)) __

Re: [PHP-WIN] Syntax

2002-07-23 Thread Scott Carr
http://www.php.net/manual/en/language.expressions.php There is one more expression that may seem odd if you haven't seen it in other languages, the ternary conditional operator: $first ? $second : $third If the value of the first subexpression is TRUE (non-zero), then the second subexpression i

Re: [PHP-WIN] syntax, 3 or 4?

2002-01-12 Thread Piotr Pluciennik
I've never used PHP3, but think that problem is probably because mysql module is built-in in PHP4 and in PHP3 - it's not and is not enabled by default. So you should activate extension supporting mysql in PHP3 config. Maybe it will help. Greetings Piotr PS: Let me know if it has helped you. P

Re: [PHP-WIN] syntax, 3 or 4?

2002-01-11 Thread Rasmus Lerdorf
There is no difference between 3 and 4 as far as this script is concerned. On Sat, 5 Jan 2002, Paul Wallace wrote: > Hello, > Can anyone clarify if this code below is indeed PHP v4 or 3? It will > save significant rigmarole. > Where can I find online documentation for v3? I have this 'PH