I have a search page that returns results in about 10-15 seconds. If I
refresh the page it again takes the same time as the initial search. Is
there a best way to reduce the time on a refresh.
Reading the internet I see info on caching results. Can someone point me
to a good site that explains cac
This script failed after 100-1 loops.
Tested on various servers and OSes.
What's wrong?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try after your line "$result = ifs_query"
$row=mysql_fetch_assoc($result);
$first_name=$row[caa44340041];
$last_name=$row[caa442400042];
Below should work if you have multiple rows returned in the query and building
a list box -
while ($row=mysql_fetch_assoc($result))
{
echo "
Dan Shirah wrote:
How would I assign the output of a query into variables? I have the
following code:
$sql = "SELECT caa44340041, caa442400042 FROM caa44340, caa44240
WHERE caa443400018 = caa442400018; // THE QUERY ITSELF TO SELECT THE
DATA $result = ifx_query($sql, $connect_id) or die ("c
If the query only ever returns 1 row then like this:
$sql = "SELECT caa44340041, caa442400042 FROM caa44340, caa44240 WHERE
caa443400018 = caa442400018;
$result = ifx_query($sql, $connect_id) or die ("couldn't execute the
query");
$row = fetch_assoc_array($result);
$first_name = $row['caa4434
How would I assign the output of a query into variables? I have the
following code:
$sql = "SELECT caa44340041, caa442400042 FROM caa44340, caa44240 WHERE
caa443400018 = caa442400018; // THE QUERY ITSELF TO SELECT THE DATA
$result = ifx_query($sql, $connect_id) or die ("couldn't execute the
que
I'm working on a php data load project that will require some extended run
times and I wish to monitor progress. I created a table in a mysql database
such that at certain intervals the process will update the table. I've written
a second php script which upon a button click is suppose to re