Where is array

Im getting this
Notice : Trying to access array offset on value of type null in C:\xampp\htdocs\DCT\2\racks\show_rack.php on line 92

Notice : Trying to access array offset on value of type null in C:\xampp\htdocs\DCT\2\racks\show_rack.php on line 94

Notice : Trying to access array offset on value of type null in C:\xampp\htdocs\DCT\2\racks\show_rack.php on line 99
on

			$time1 = strtotime($row['created_date']);
			$c_date = date("m/d/y g:i A", $time1);
			$time2 = strtotime($row['updated_date']);
			$u_date = date("m/d/y g:i A", $time2);

I’m trying to figure out what the error means as $row['created_date'] is not null


but $row['updated_date'] is, is that the problem?

The errors mean that $row is a null and you are trying to access it like it is an array. Where is $row being assigned a value?

Which of those are lines 92, 94 and 99?

Thanks, the $row{} was not executed…

What do you get if you do a var_dump() on $row['created_date']

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.