i dunno i found iis to be a pain in the butt so now i just use apache on win2k :)
-----Original Message----- From: James Mclean [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 19 June 2002 3:37 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] IIS/PHP 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 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php