Jump to content

Difference Between ' " `?


signature16

Recommended Posts

No difference between single and double quotes in SQL; backticks are used to escape reserved keywords.  If you're writing sql in PHP, you will typically wrap the sql string in double quotes so that any variables will be interpolated, and hence you use single on the "inside".

Link to comment
https://forums.phpfreaks.com/topic/50398-difference-between/#findComment-247546
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.