Jump to content

Variable is definitely set but I'm getting Undefined Variable:


5kyy8lu3

Recommended Posts

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 :)

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.