[PHP-WIN] dynamic page caching help

2006-12-08 Thread Harpreet
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

[PHP-WIN] ftp_connect() failed

2006-12-08 Thread Alek Silverstone
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

Re: [PHP-WIN] Variables

2006-12-08 Thread tclorenzted
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 "

Re: [PHP-WIN] Variables

2006-12-08 Thread Stut
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

Re: [PHP-WIN] Variables

2006-12-08 Thread Kevin Smith
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

[PHP-WIN] Variables

2006-12-08 Thread Dan Shirah
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

[PHP-WIN] Monitoring one PHP script with another via mysql table

2006-12-08 Thread tclorenzted
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