I'm learning PHP and MySQL. In the samples I work with, the SQL table
names are "escaped" in accent grave (`) marks, not in single or double
quotes.
Can anyone explain that?
For instance, I have the following:
$sql_command = "SELECT * from `7-1_List`";
I tried looking around on the php.net site, but clearly I'm not using
the right search terms.
While I'm asking, I think I've figured out how double quotes (")
differ from single quotes ('), but if there is a discussion that
someone can point me to, that would be very nice.
Thanks.
names are "escaped" in accent grave (`) marks, not in single or double
quotes.
Can anyone explain that?
For instance, I have the following:
$sql_command = "SELECT * from `7-1_List`";
I tried looking around on the php.net site, but clearly I'm not using
the right search terms.
While I'm asking, I think I've figured out how double quotes (")
differ from single quotes ('), but if there is a discussion that
someone can point me to, that would be very nice.
Thanks.
Comment