Re: [PHP-WIN] Apache

2004-11-11 Thread phpWalter
> Dear All, > > When I add 'LoadModule php4_module C:/PHP/sapi/php4apache2.dll' to my > Apache httpd.conf it does not want to start-up in XP. When I run it > without it it starts up. Do I need this to execute php? > > Apache 2.0.5 > PHP4 My httpd.conf says... (actually, it's in my php.conf file,

[PHP-WIN] simple database question

2004-11-11 Thread Patrick Roane
I'm using the basic MySQL.exe console and I'm creating a simple database for practice purposes. I've made some errors. Do I have to start all over again? Or, is there a way to back in the code and re-write just the part that I goofed. Thanks- = "forget your lust for the

RE: [PHP-WIN] Question concerning SWITCH and Comparisons

2004-11-11 Thread Tony Devlin
I wanna thank everyone for helping me. It seems I had it right was only conceptually making it more complex than it needed to be. BTW the code I wrote down I did as an example here, not one that I actually wrote and tested -- I was trying to conceptually design the switch statement before I began

Re: [PHP-WIN] Question concerning SWITCH and Comparisons

2004-11-11 Thread Alejandro César Garrammone
I think this may work...but doing some debbuging I suggest: case ($qty>=1600 and $qty< 2400): //$qty is less than 2400 and I modified the semi-colon of this part of code: case ($qty >= 2400): //$qty is greater than or equal to 2400 I tried your code and It works! Hope this helps, Alex - Orig

[PHP-WIN] Apache

2004-11-11 Thread W Roothman
Dear All, When I add 'LoadModule php4_module C:/PHP/sapi/php4apache2.dll' to my Apache httpd.conf it does not want to start-up in XP. When I run it without it it starts up. Do I need this to execute php? Apache 2.0.5 PHP4 R's Will

RE: [PHP-WIN] Question concerning SWITCH and Comparisons

2004-11-11 Thread Svensson, B.A.T. (HKG)
Yepp, that true, and thats why we have switch. Otherwise switch would be syntactic suggar only. -Original Message- From: Gryffyn, Trevor To: Php-Windows Cc: [EMAIL PROTECTED] Sent: 11-11-2004 19:17 Subject: RE: [PHP-WIN] Question concerning SWITCH and Comparisons One thing I'll point out

RE: [PHP-WIN] Question concerning SWITCH and Comparisons

2004-11-11 Thread Gryffyn, Trevor
I just copy and pasted your switch statement and it worked fine for me the way you described it needed to work. One thing I did notice, there's a semi-colon on the >= 2400 CASE, but it still seemed to work ok for me (maybe I noticed and fixed that before I tested >= 2400). What error are you gett

[PHP-WIN] Question concerning SWITCH and Comparisons

2004-11-11 Thread Tony Devlin
If my understanding of SWITCH is correct, it stops at the first case that matches the result, correct? So then.. If I have a switch as such; switch($qty){ case ($qty < 1600): //$qty is less than 1600 do something break; case ($qty < 2400): //$qty is less than 2400 do something break; case

Re: [PHP-WIN] Apache2+PHP5+MySQL4 --> mysql_connect fails, PHP5+MySQL4+CLI --> mysql_connect works

2004-11-11 Thread Herson
G'day! I've same problem! and I do this, I'm set the phpinidir but nothing happened. The problem continues... I think that the problem are in the PHP 5.0.2, because I've never saw this in other versions! "Steven James Samuel Stapleton" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTEC

[PHP-WIN] Re:

2004-11-11 Thread marcot
From: [EMAIL PROTECTED] Subject: I'm currently away Hello, Our offices will be closed between November 4th and November 12th included. During that time, I will have no access to e-mail or voicemail. If your message is related to php|architect support, please write to [EMAIL PROTECTED] instead,