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

URL redirect and row-count

2001-09-07 Thread Imtiaz ahmad
Hi- Can somebody help me with a function that redirects a user's browser to a different site. I like to be able to do it using some PERL function. Also, is there a function in PERL that tells you how many rows are returned by a select statement. e.g. If I have following select then what do I nee