Jump to content

Noob question - best way to add a class to a doc


melting_dog

Recommended Posts

Hmm it kind of is -

 

Say if I had an SQL query that returned a set of results that I would use across my site over and over again. I imagine that it would be better practice to have that query on its own file and to 'call' that file (via include?) whenever you need it.

 

I just want to confirm that this is the best practice to do this

 

Thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.