Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $username="gnews_thunt1";
- $password="rcarey2011";
- $database="gnews_treasurehunt";
- mysql_connect(localhost,$username,$password);
- @mysql_select_db($database) or die( "Unable to select database");
- $clues = array("1","2","3","4","5","6","7","8","9");
- $imploded_clues = implode(",",$clues);
- echo $imploded_clues;
- $query = "INSERT INTO teams VALUES ('','rbedi100@gmail.com','Rishi Bedi',$imploded_clues,'abc','4')";
- mysql_query($query);
- mysql_close();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement