|
[image removed]server
[WEB400] time out problem
Larry Kleinman
to:
web400
07/12/2010 10:52 AM
Sent by:
web400-bounces@xxxxxxxxxxxx
Please respond to Web Enabling the AS400 / iSeries
First my apologies for posting this previously as a response to a
completely unrelated post. I didn't realize that that confused the
as well as some mail clients.(It
I am reposting this now, hopefully correctly, since I got no response to
the original post, I suspect due to my incorrect posting.
Hi folks - Table NAME (in the script below) has about 10,000 rows in it.
When I run it using ZEND CORE, all I get is the word "top" showing up.
$count"
takes a minute or so). When I run it with some additional selection
criteria, so that I get about 7500 rows, it works fine - the "echo
a
statement at the end displays the count. How can I tell whether this is
Zend
time out in getting the data from the SQL server, or in the Apache or
server, or in the browser?
<html>
<head></head>
<body>
<?php
echo "top";
$conn = mssql_connect('FBC_DEV_106','xxx','xxxx');
if ($conn) {
mssql_select_db("FBC_DEV_106");
$query = "SELECT * from NAME ";
$sql_result = mssql_query($query);
if($sql_result) {
while ($array = mssql_fetch_array($sql_result)) {
$count = $count + 1;
}
echo $count;
}
}
?>
</body>
</html>
Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
203-255-4100
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.