Quick Variable
Briefly

Using a direct fetch method, such as fetchColumn() when you need a single result, is more concise and reduces lines of code significantly.
Using fetchColumn() not only simplifies the code but also enhances performance slightly since it bypasses the need to prepare a full object or array.
Read at SitePoint Forums | Web Development & Design Community
[
|
]