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

Re^9: Making an automatic counter adder for all webpages

by polettix (Vicar)
on Dec 24, 2007 at 12:45 UTC ( [id://658875]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $dbh->do($statement, \%attr, @bind_values);
    
  2. or download this
    $dbh->do($statement, undef, @bind_values);
    
  3. or download this
       my $counter = 'SELECT pagecounter FROM counters WHERE pagename = ?'
    +,
          undef, $pagename
       );
    
  4. or download this
    my $sth = $db->prepare('SELECT pagecounter FROM counters WHERE pagenam
    +e = ?');
       $sth->execute($pagename);
    
  5. or download this
    my ($counter) = $db->selectrow_array(
       'SELECT pagecounter FROM counters WHERE pagename = ?', 
       undef, $pagename);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://658875]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-10-07 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (44 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.