I'm learning php/mysql, I have made a php page and I have a form on a host that has a sqlbuddy database, when I ws a adding a column in the table but the I got this:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''fan_comments' ADD 'dates' TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP' at line 1
This is what is my statement: ALTER TABLE 'fan_comments' ADD 'dates' TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
But running the same command on my machine which uses phpMyAdmin the command works perfectly so I'm confused what the problem is..what can I do to correct that error?