Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: How can I pass number of rows value in psql table into HTML?

by arhuman (Vicar)
on Mar 13, 2001 at 18:20 UTC ( #64114=note: print w/replies, xml ) Need Help??


in reply to How can I pass number of rows value in psql table into HTML?

If you mean getting the number of row in a table via a DBI access (guessing too) :
A 'select * from yourtable' as a query
and a fetchrow_array would return an array,
you'll only have to count the number of item in this array
(each item is column...)
  • Comment on Re: How can I pass number of rows value in psql table into HTML?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://64114]
help
Chatterbox?
[karlgoethebier]: hello jedikaiti! something shiny tonight?
[jedikaiti]: It's a very pretty shiney
[jedikaiti]: Shiney!
[karlgoethebier]: very nice!
[shmem]: hm. Can't resolve apod.nasa.gov - weird.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2017-11-21 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (308 votes). Check out past polls.

    Notices?