This is for version 3.0.8
I have tried these three but they don't work
Code:
$getstats = $DB_site->query("SELECT * FROM userfield WHERE userid='$post[userid]'")or die(mysql_error());
$stats = mysql_fetch_array($getstats);
Code:
$getstats = $DB_site->query("SELECT * FROM userfield WHERE userid='$_GET[userid]'")or die(mysql_error());
$stats = mysql_fetch_array($getstats);
Code:
$getstats = $DB_site->query("SELECT * FROM userfield WHERE userid='$userid'")or die(mysql_error());
$stats = mysql_fetch_array($getstats);
can you explain "sanitize" and "globalize"?