I am getting an error saying:
Table TEST does not exist.
Heres what I have:
$query = "SELECT * FROM TEST WHERE ipnum = '$ip'";
TEST is a constant that I defined and the value of it is a table that i have. I think for some reason it isnt reading the constants value but its doing TEST instead as the table. i've tried not putting in in parentheses and connecting it with the . but it still doesnt work. any suggestions?
0 · ·