Hi I want to echo the output of query in php
$query = "SELECT COUNT(name) FROM ji where name="rahul" and age='23' ";
Can anyone plz help?
$query = "SELECT COUNT(name) [B]AS name_count[/B] FROM ji where name='rahul' and age='23' ";
AS you can give any column a new name, making it easier to get to them.
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.