Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. my ($dbh,$dsn,$user,$password);
  2.  
  3. $user="root";
  4. $password="";
  5.  
  6. $dsn = "dbi:mysql:bible:localhost:3306";
  7. $dbh = DBI->connect($dsn, $user, $password);
  8.  
  9. my (%bible,$sth,$dbh,$bible,$form_bible,@row);
  10. $form_bible=$cgi_object->param("form_bible");
  11.  
  12. $sth = $dbh->prepare($bible{$form_bible});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement