182x Posted July 20, 2007 Share Posted July 20, 2007 Hey guys, just wondering is there a limit to the size of variable names? I am using the name 'employeeTechProblemId' for the field in a database but I keep getting the following error. However the variable name is correct. Unknown column 'employeeTechProblemId' in 'where clause' Link to comment https://forums.phpfreaks.com/topic/60892-variable-name-question/ Share on other sites More sharing options...
benjaminbeazy Posted July 20, 2007 Share Posted July 20, 2007 dont know if there is a limit but that is well below it if there is one Link to comment https://forums.phpfreaks.com/topic/60892-variable-name-question/#findComment-303001 Share on other sites More sharing options...
TheFilmGod Posted July 20, 2007 Share Posted July 20, 2007 charvar can go up to 225 or so in mysql. "text" has no limits. About variables themselves, I don't think there is a limit. The problem you are getting is something else. I think the column in the database is incorrectly called/spelled wrong. Its a different error message! Link to comment https://forums.phpfreaks.com/topic/60892-variable-name-question/#findComment-303004 Share on other sites More sharing options...
benjaminbeazy Posted July 20, 2007 Share Posted July 20, 2007 yup Link to comment https://forums.phpfreaks.com/topic/60892-variable-name-question/#findComment-303005 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.