Database Vs Include

Results 1 to 2 of 2

Thread: Database Vs Include

  1. #1
    Join Date
    Dec 1969

    Default Database Vs Include

    I have the list of the US states. There&#039;s a few times in page where the user need to select the states.<BR><BR>I want to know if I should I read the states list from the database or should I use include?<BR><BR>Thanks!

  2. #2
    Join Date
    Dec 1969

    Default Include, for sure...

    Or, possibly, put the list into an Application variable.<BR><BR>But, yes, avoid database queries for information that isn&#039;t going to change. (Heck, you should even avoid them for info that changes only occasionally. For example, if stuff changes once a month, "cache" it in application variable(s).)<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts