5kyy8lu3 Posted February 5, 2009 Share Posted February 5, 2009 This is driving me crazy!!! I've tried everything. I'm trying to do a really big mysqli query and I'm getting this error: Undefined Variable: weight. The thing is, $weight IS set. I've echo'd it, I've used isset(), I've used DIE($query); to make sure my query is ok. I've tried nearly everything and I can't get this to work. What the heck am I doing wrong? I doubled checked each column name with the database too so I know I'm not doing that wrong. All the data for each column fits the data type/size. I'm lost, anyone know what's going on? Thanks Link to comment https://forums.phpfreaks.com/topic/143903-variable-is-definitely-set-but-im-getting-undefined-variable/ Share on other sites More sharing options...
waynew Posted February 5, 2009 Share Posted February 5, 2009 Post the code? Link to comment https://forums.phpfreaks.com/topic/143903-variable-is-definitely-set-but-im-getting-undefined-variable/#findComment-755128 Share on other sites More sharing options...
PFMaBiSmAd Posted February 5, 2009 Share Posted February 5, 2009 And post the error. If it is a php error, you have one kind of problem. If it is a mysql error, you have a different kind of problem. Link to comment https://forums.phpfreaks.com/topic/143903-variable-is-definitely-set-but-im-getting-undefined-variable/#findComment-755212 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.