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