Page 2 of 2

Posted: Tue Mar 02, 2004 2:42 am
by qads
i see alot of str_replace in there..just saying, thats all, its maybe better to make a template function/class to handle those replaces, just makes it easier to manage :wink:

more data means slower output from php, beacuse it takes times to find the data, well mysql does lol but you know what i mean :P.

just make sure you use "full index" feature in mysql, you can find it next to most field names in phpmyadmin, just click on it, with that (from what i heard),it makes it faster to search...although i am not sure about it, maybe sami or someone else can put some more light on it.

your database has to be fairy big in order to slow it down, i currently have over 17,000 records in a client's site, running just fine with, takes less 1 - 4secs to output, depending on what is being outout.