rubing Posted May 2, 2008 Share Posted May 2, 2008 Why should i use those funny slashes ` instead of apostrophes ' in my SQL queries? Is there any info on this anywhere?? THanks Link to comment https://forums.phpfreaks.com/topic/103947-solved-mysql-complete-syntax/ Share on other sites More sharing options...
pocobueno1388 Posted May 3, 2008 Share Posted May 3, 2008 The back sticks are for when you have a field name that is a MySQL reserved word. If you put them around that field, you won't get an error. Apostrophes are for putting around variables. There could be another use for back sticks, but that is the one I'm aware of. Link to comment https://forums.phpfreaks.com/topic/103947-solved-mysql-complete-syntax/#findComment-532177 Share on other sites More sharing options...
hitman6003 Posted May 3, 2008 Share Posted May 3, 2008 see http://www.mysql.com/identifiers Link to comment https://forums.phpfreaks.com/topic/103947-solved-mysql-complete-syntax/#findComment-532179 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.