> > Because I’ve never debug on my entire life of programming (2 months). :D > > In the meanwhile, I will search how to debug using print_r and var_dump. > > ROFL ha hahaha
echo '<pre>', print_r($array),'</pre>'; // here pre is used to keep the way its outputed in HTML echo '<pre>', var_dump($array),'</pre>'; please dont forget to study the online php manual and also the php_manual.chm version downloaded to your PC. Its never a good idea to not to debug.