jaikar Posted October 15, 2007 Share Posted October 15, 2007 Hi, whats the use of using ` quote in mysql statements? like in INSERT INTO tblname (`name`, `email`) VALUES ('names', 'emails').. while without ` quote like in this... INSERT INTO tblname (name, email) VALUES ('names', 'emails') , worked for me in older versions and not working in new mysql versions. anyone know the reason please explain. Thankyou in advance. ~J Link to comment https://forums.phpfreaks.com/topic/73301-solved-using-quote-in-mysql/ Share on other sites More sharing options...
zq29 Posted October 15, 2007 Share Posted October 15, 2007 You can use reserved words as table names and fields when using backticks. Such as naming a field "date" Link to comment https://forums.phpfreaks.com/topic/73301-solved-using-quote-in-mysql/#findComment-369845 Share on other sites More sharing options...
jaikar Posted October 15, 2007 Author Share Posted October 15, 2007 wow !.. you are excellent !... i named the field as primary, Thanks ! ~J Link to comment https://forums.phpfreaks.com/topic/73301-solved-using-quote-in-mysql/#findComment-369873 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.