I'm not too sure why you're using MeekroDB, although I've heard good reviews on it... I suggest just using MySQLi... But anyways, MeekroDB does that automatically for you.
It's a string and can contain an integerIf it is a integer only, you can use intval ().
What is MeekroDB?
MeekroDB is a PHP MySQL library that lets you get more done with fewer lines of code, and makes SQL injection 100% impossible. Keep reading and find out how!
You must be registered for see linksI'm 100% sure, atleast according to what the documentation says...
You must be registered for see links
It's for all MeekroDB functions; also that's a MySQL library, not a MySQLi.I think that means in querys though..
How else do you want to SQL inject then?I think that means in querys though..
It's for all MeekroDB functions; also that's a MySQL library, not a MySQLi.
$this->current_db = $this->dbName;
$mysql = new mysqli($this->host, $this->user, $this->password, $this->dbName, $this->port);
It's MySQLi.It's for all MeekroDB functions; also that's a MySQL library, not a MySQLi.
$this->escape($_GET['p']);
public function escape($str) {
$db = $this->get();
return $db->real_escape_string($str);
}