I am displaying the values of a multidimensional array. The values are being displayed but i am getting a notice of Undefined offset
well i found one solution myself also which is not a good option but it also works fine...........use the @ operator like given below ---
while($i<count(@$result_page[$i]))
Answers given by B.Desai and thavaamm are better options though.
You can also use the following function to suppress the warnings.
error_reporting(E_ERROR | E_PARSE);