RE: [PHP] Can't Get PHP to work

2005-05-30 Thread Shaw, Chris - Accenture
Morning, Check the extension path in the php.ini file in your c:\winnt directory. I can remember that I had to change that when setting up php5 because the directory was c:\php\extension and the path in the php.ini was c:\php\ext. hth C. -Original Message- From: Subscriber

Re: [PHP] Can't get upload to work and I wonder...

2003-03-04 Thread Jason Wong
On Wednesday 05 March 2003 13:37, Hugh Danaher wrote: Help, I've moved my upload script from one host to another, and what worked once, isn't working now. In the new site's phpinfo file I see that file_uploads is set to no value and in the old it was on. What do I tell my system

Re: [PHP] Can't get upload to work and I wonder...

2003-03-04 Thread Hugh Danaher
Thanks Jason, Sounds simple. I'll let the SA know what I want and see if I get it. Hugh - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 10:19 PM Subject: Re: [PHP] Can't get upload to work and I wonder... On Wednesday 05 March

RE: [PHP] can't get it to work

2002-04-03 Thread Collins, Robert
Have you tried BETWEEN $query = SELECT * FROM table where date BETWEEN '$month_1/$day_1/$year_1' AND '$month_2/$day_2/$year_2'; Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Alex

Re: [PHP] can't get it to work

2002-04-03 Thread Miguel Cruz
On Wed, 3 Apr 2002, Alex wrote: I'm trying to write code that will return all records found between certain dates(e.g. 2001-01-30 through 2002-01-30). I created a html form with pull down menus for both dates but when I try to run it I get a parse error and can't figure out what's wrong. It

Re: [PHP] can't get it to work

2002-04-03 Thread Miguel Cruz
On Wed, 3 Apr 2002, Alex wrote: I'm trying to write code that will return all records found between certain dates(e.g. 2001-01-30 through 2002-01-30). I created a html form with pull down menus for both dates but when I try to run it I get a parse error and can't figure out what's wrong.

RE: [PHP] can't get it to work

2002-04-03 Thread Rick Emery
Of course that's a mysql parse error!! Mysql dates are -MM-DD. Do NOT use slashes $query = SELECT * FROM table where date = \$year_1-$month_1-$day_1/$year_1\ AND date = \$year_2-$month_2-$day_2\; Read the mysql manual concerning dates, formats, functions -Original Message-

RE: [PHP] can't get it to work

2002-04-03 Thread Rick Emery
Need one more quote (se below) Of course that's a mysql parse error!! Mysql dates are -MM-DD. Do NOT use slashes $query = SELECT * FROM table where date = \$year_1-$month_1-$day_1/$year_1\ AND date = \$year_2-$month_2-$day_2\; Read the mysql manual concerning dates, formats,

Re: [PHP] can't get it to work

2002-04-03 Thread Alex
That did the trick. Thank you Miguel Cruz [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wed, 3 Apr 2002, Alex wrote: I'm trying to write code that will return all records found between certain dates(e.g. 2001-01-30 through 2002-01-30). I created a html

RE: [PHP] can't get it to work

2002-04-03 Thread Maxim Maletsky
Why not SELECT WHERE date_field$max_date and date_field$min_date ? A very god advice for everyone of you who tries to implement PHP for the where selects: You can VERY OFTEN leave this job to the DB itself. SQL don't only have SELECT, UPDATE etc... they all have lots of functions for the