PasteSite is open to the public, but with limited features. Register to be able to modify access rights, track your pastes and more...
If you prefer reading light text on a dark background to dark text on a light background, then you might want to try the dark theme.
"Re: #4898" by Anonymous [PHP]Actions: |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
function query($sqlquery) {
$this->result = mysql_query($sqlquery, $this->con);
}
function multiquery($sqlquery) {
$query = explode(';', $sqlquery);
foreach($query as $qu) $this->query($qu);
}
$this->query("INSERT INTO `useroplevel` (`username`,`channel`) VALUES ('" . mysql_real_escape_string($nick) . "','" . mysql_real_escape_string($channel) . "')");
$this->query("INSERT INTO `log` (`what`,`who`,`channel`) VALUES ('JOIN','" . mysql_real_escape_string($nick) . "','" . mysql_real_escape_string($channel) . "')");
$this->multiquery("INSERT INTO `useroplevel` (`username`,`channel`) VALUES ('" . mysql_real_escape_string($nick) . "','" . mysql_real_escape_string($channel) . "');INSERT INTO `log` (`what`,`who`,`channel`) VALUES ('JOIN','" . mysql_real_escape_string($nick) . "','" . mysql_real_escape_string($channel) . "')");
|