IIS/PHP

From: Date: Wed, 19 Jun 2002 05:37:26 +0000
Subject: IIS/PHP
Groups: php.windows 
Request: Send a blank email to php-windows+get-14290@lists.php.net to get a copy of this message
All, Consider the following code. <? if ($query) { $res = fetch_record_by_number($query); if (!$res){ print "<B>$last_error_message</B>"; }else{ print_r($res); } } ?> <h2>test function</h2> <form> Number to Query <input type=text name=query> <input type=submit> </form> Now this code works flawlessly under Apache/PHP 4.2.<something>, but on IIS with PHP 4.2.<something> it fails to execute the first if statement once a number is entered in the text field. Does anyone know why this may be the case? (other than using windows...) Regards, James Mclean

« previous php.windows (#14290) next »