hi
i am using db layer foor all my quries.i want to know how to use mysql_num_rows in dblayer
thanks in advance

please tell me how to find the num of rows fetched.while using dblayer

Pass the result resource you get after executing the query in mysql_num_rows() and it'll give the total number of rwos fetched

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.