daily pastebin goal
82%
SHARE
TWEET

Untitled

a guest Jan 20th, 2017 119 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mysql.connect <- function(){
  2.   dbconnector <<- dbConnect(dbDriver("MySQL"),dbname="XXXXX",user="YYYYY", password="ZZZZZZ")
  3. }
  4.  
  5. mysql.getSelect <- function(){
  6.   mysql.data <<- dbGetQuery(dbconnector, "SELECT  `attack`, `defence`, `hp`, `exp`, `gold`, `water`  FROM `monsters` ")
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top