Gossamer Forum
Home : General : Perl Programming :

Re: [Wil] SQL Count

Quote Reply
Re: [Wil] SQL Count In reply to
You can count using the same conditions as any other select:

$sqlsrchresults = "SELECT COUNT(*) FROM geog WHERE name_en LIKE '%$A::name_en%' ORDER BY name_en";

/Csson
Subject Author Views Date
Thread SQL Count Wil 7224 Sep 26, 2001, 1:45 AM
Thread Re: [Wil] SQL Count
sh2sg 7016 Sep 26, 2001, 2:20 AM
Thread Re: [sh2sg] SQL Count
Wil 7011 Sep 26, 2001, 3:24 AM
Thread Re: [Wil] SQL Count
Matt G 7031 Sep 26, 2001, 7:01 AM
Post Re: [mglaspie] SQL Count
Wil 6974 Sep 26, 2001, 7:24 AM
Thread Re: [Wil] SQL Count
Stealth 6997 Sep 26, 2001, 8:11 AM
Post Re: [AnthroRules] SQL Count
Wil 6995 Sep 26, 2001, 8:13 AM
Thread Re: [sh2sg] SQL Count
Alex 6977 Sep 26, 2001, 9:57 AM
Thread Re: [Alex] SQL Count
Wil 6957 Sep 27, 2001, 1:29 AM
Post Re: sql row warning
Wil 6971 Sep 27, 2001, 6:41 AM
Thread Re: [Wil] SQL Count
Csson 6982 Oct 3, 2001, 3:23 PM
Post Re: [Csson] SQL Count
Wil 6897 Oct 7, 2001, 10:13 AM