The mysqli_fetch_field_direct() function is designed for surgically precise work. Unlike the
standard fetch_field function, which goes through columns sequentially, this one allows us to
immediately jump to a specific column using its index (number).
When do we use this in practice? If you know in advance that you are only interested in the technical details of the second column in your query, you use index 1 (since we start counting from 0). This is faster and cleaner than running a loop over all columns. Test it at home like this: