How to show the result of counting in php?

$room = "SELECT COUNT(*) FROM table WHERE roomid ='1'";
Member Avatar for diafol

What do want to know?

Have you looked at the online mysql manual?

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.