$M1=$DB_site->query_first("SELECT * FROM 3MStatus WHERE Index = 3M1");
$M2=$DB_site->query_first("SELECT * FROM 3MStatus WHERE Index = 3M2");
$M3=$DB_site->query_first("SELECT * FROM 3MStatus WHERE Index = 3M3");
$M4=$DB_site->query_first("SELECT * FROM 3MStatus WHERE Index = 3M4");
Still Get Errors
Database error in vBulletin 2.3.3:
Invalid SQL: SELECT * FROM 3MStatus WHERE Index = 3M1
mysql error: You have an error in your SQL syntax near 'Index = 3M1' at line 1
mysql error number: 1064
|