Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Code Challenge Solutions - HackerRank
Java 1
My solutions to different code challenges on different websites in various languages
C++ 1
Interactive Tutorials
Python 2k 1.7k
public function connect() {
mysql_connect($this->host,$this->username,$this->password) or die("Could not connect. " . mysql_error());
mysql_select_db($this->table) or die("Could not select database. " . mysql_error());
return $this->buildDB();
public function write($p) {
if ( $p['title'] )
$title = mysql_real_escape_string($p['title']);
if ( $p['bodytext'])
$bodytext = mysql_real_escape_string($p['bodytext']);
<?php
class simpleCMS {
var $host;
var $username;
Seeing something unexpected? Take a look at the GitHub profile guide.