Jump to content

select question


eMonk

Recommended Posts

Guess I'll go with

 

$query = "SELECT column1, column2, column3, column4, .... FROM model";

 

because it makes more sense and just fetches the data I'll be using.

 

The first query is just smaller code so I was wondering which would be better but after some thought I think the second one would be better unless someone else says otherwise.

Link to comment
https://forums.phpfreaks.com/topic/234774-select-question/#findComment-1206552
Share on other sites

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.