Ok I was stupid in my last post. I got it now.
NEW question though. I have the query to call the column, but it's an integer field and the query doesn't seem to load it as an INT. It is loading it as "Resource id #20" (Don't ask me what this means.) It also loaded as "Array" when outputted. The problem is that I am taking this number that is the result of the query and I am using it in an equation. It needs to be a number. How do I make this work?
(And sorry if this is in the wrong forum. I guess it probably belongs in the SQL/PHP forum)
|