Help for this page

Select Code to Download


  1. or download this
    mysql> select id from comments;
    +----+
    ...
    | 38 |
    | 39 |
    +----+
    
  2. or download this
    mysql> insert into comments set comments = 'foo';
    Query OK, 1 row affected (0.00 sec)
    ...
    
    mysql> delete from comments where id = 59;
    Query OK, 1 row affected (0.01 sec)
    
  3. or download this
    mysql> desc comments\G
    *************************** 1. row ***************************
    ...
       Key:
    Default: 000.000.000.000
     Extra:
    
  4. or download this
    #!/usr/bin/perl -w
    use strict; use warnings;
    ...
      };
    
      my($msgid) = $dbh->{'mysql_insertid'};