Jump to content

is this bad practice?


Rifts

Recommended Posts

Everyone has their own opinion on bad practice, IMO yes it is because it makes the code harder to read and debug. Also I think it's good practice to or your query in a variable rather than directly into the function like that. Doing that will make it quicker to debug if you  have a problem with the query you can quickly echo it out to debug.

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.