[PHP] MeekroDB Question [/PHP]

Trinix

Member
Feb 1, 2013
56
5
Hi

I'm using MeekroDB for my database class, and it doesn't seem to have a filter function. I have a $_GET['p'] for my template system to GET the page from a file but how could I filter it so I can't get SQL injected?
 

IntactDev

Member
Nov 22, 2012
399
71
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.
 

Trinix

Member
Feb 1, 2013
56
5
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.

MeekroDB is a class for MySQLi. Are you sure it filters it automatically? I'm not sure if it does :/

If it is a integer only, you can use intval ().
It's a string and can contain an integer
 

IntactDev

Member
Nov 22, 2012
399
71
I'm 100% sure, atleast according to what the documentation says...

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!
 

Users who are viewing this thread

Top