RE: URL redirect and row-count

2001-09-07 Thread Imtiaz ahmad
Thanks, this is what I wanted. -Original Message- From: Jeffl [mailto:[EMAIL PROTECTED]] Sent: Friday, September 07, 2001 6:09 PM To: Imtiaz ahmad Cc: [EMAIL PROTECTED] Subject: Re: URL redirect and row-count Howdy, redirect assuming use CGI; print q->redirect( &q

Re: URL redirect and row-count

2001-09-07 Thread Jeffl
Howdy, redirect assuming use CGI; print q->redirect( "http://www.somewhere.org"; ); or not, print "Location: http://www.the_other_place.org\n\n";; counting the number of rows select COUNT(some_column) FROM some_table WHERE some_clause; or SELECT COUNT DISTINCT(some_column) FROM some_table