deezin Posted April 29, 2006 Share Posted April 29, 2006 Hi there. I hope that you can help me. I am extracting a bunch of static pages from a database with PHP and MYSQL. I had the script working on a smaller scale, but when it had to sort out about 4,000 listings at once, it timed out. I have listings that I want separated by city within each state. So I want the page to look something like (all the listings to be separated by city one one page like below): LISTINGS IN NEWARK, NJListing Title 1123 Generic Street AddressNewark, NJ 08520609-371-1223Listing Title 24556 Generic Street AddressNewark, NJ 08435609-453-4323etc.I have included some my code below the table information, maybe one of you can help me and take a look. Thank you!!TABLE 1TABLE NAME: states_citesid (auto_incremented number)state (State Abbreviationgs)city (City Names)TABLE 2TABLE NAME: tutorialsid (auto_incremented number)title (Listing Title)street (street address)city (city)state (state abbreviation)zip (zip code)phone (phone number)category (category name)catid (category id number)icon (image name)sub_folder (directory folder name)categ_exp (long explanation of category)short_category (short category explanation)TABLE 3TABLE NAME: categoriesid (auto_incremented number)category (category name)short_category (short category explanation)description (long category description)sub_folder (directory folder name)I will link to the code because it is too long to copy and paste into this thread.[a href=\"http://www.aimingatmoms.com/phphelp.txt\" target=\"_blank\"]http://www.aimingatmoms.com/phphelp.txt[/a] Quote Link to comment https://forums.phpfreaks.com/topic/8721-building-static-pages-script-timing-out/ Share on other sites More sharing options...
michaellunsford Posted April 29, 2006 Share Posted April 29, 2006 do you have the small scale version in production so we can see what it's supposed to be doing? Quote Link to comment https://forums.phpfreaks.com/topic/8721-building-static-pages-script-timing-out/#findComment-32012 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.