Hi all.
I have problem with fetching from database using fetchrow_hashref function.
In fact I can fetch data but if my query returns null from db fetchrow_hashref function returns a null hash reference. So I am unable to use the field names of query which would be returned.
Is there any way to view colomn names without data? Thanks.
I have problem with fetching from database using fetchrow_hashref function.
In fact I can fetch data but if my query returns null from db fetchrow_hashref function returns a null hash reference. So I am unable to use the field names of query which would be returned.
Is there any way to view colomn names without data? Thanks.