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?
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' ";
With AS
you can give any column a new name, making it easier to get to them.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.