Code Executing Slowly

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
katiemac22
Forum Newbie
Posts: 1
Joined: Mon Aug 27, 2012 3:33 pm

Code Executing Slowly

Post by katiemac22 »

Hello

I have written some code that returns job search results based on some criteria:
Here is the link: http://career-updates.org/kath.php?p...rida&x=60&y=17

I copy the job results into an array and then parse out using a pagination routine.

The code where I copy search results to an array is executing very slowlly as can be seen on the above link.
Inside the attached php file, the code I am referring to can be found where I added this comment:
/* loop below here is loading slow - making page load slow */

http://career-updates.org/problem.zip
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: Code Executing Slowly

Post by social_experiment »

The for loop doesn't seem to be working
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Post Reply