View Single Post
Old 04-21-2013, 08:59 PM  
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,075
Quote:
Originally Posted by lakerslive View Post
which is better? seo + site performance?

For example the word "HELLO" is it more efficient to store that in an sql database and call it or just leave it in the .php file itself?
Depends on how many words you are storing and the logic required in using them.

If you can hardcode the word into the program as a literal then that is quickest. If it is a short list of words then using an array in the php program could be a good way to go depending on what you want to do with them.

So, if you can say what it is you are trying to do with the words, it would help.

.
__________________
All cookies cleared!

Last edited by sarettah; 04-21-2013 at 09:14 PM..
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote