I am confused and

frustrated to the max that I can't seem to figure out this simple BUG. I am running Lazarus 1.2.4 and fpc 2.6.4.
I successfully installed mysql server and apache. They work as they should. I can pull up default webpage and create MySQL database and tables. I even created a simple PHP webpage to access MySQL database and it works as it should. However, I wrote a simple program using Lazarus that suppose to be querying the MySQL database table. For the most part, it is working as it should, but for the life of me I can't seem to figure out why
SELECT SQL statement won't execute. I get NO errors whatever. Every time I run the
SELECT SQL statement, it returns with 0 or ZERO record count, when I obviously know that the table I am querying has about 10 different records. I verified the table using phpMysqladmin webpage. What is interesting to note here is that
UPDATE and DELETE SQL statements work flawlessly with no problem at all. I also made sure to give the database user FULL PRIVILEGES. Here is the OFFENDING
SELECT SQL statement.
SQLQuery1.SQL.Text := 'SELECT * FROM signals WHERE TagName = "'+f.TagName+'"';
SQLQuery1.ExecSQL;
This
SELECT SQL statement expected to return at least one record, because
f.TagName should be in the table. But as I said, it is ALWAYS returning ZERO record. I don't understand it.
Any help will be GREATLY appreciate it.