Jump to content

using COUNT


jimfog

Recommended Posts

I am using COUNT to see how many rows exist in a specific table.

 

My question is how am I going to print the result in the browser since in

such a case the query returns only a number and not a specific row which

I could get with fetch object or something similar.

 

Thanks

Edited by jimfog
Link to comment
Share on other sites

Give the value an alias and use that as the column name.

Can you give me an example?

Link to comment
Share on other sites

I really had no idea you were talking about this...which by the way is completely unfamiliar to me.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...