ksl8313 Posted February 15, 2006 Posted February 15, 2006 Hello: I'm having problems with debugging application_top.php. Suppose that I were to echo or print something from application_top.php, then where would the output go to? I'm specifically having trouble with when I add product from product_info.php, then I can't seem to get its attributes in proper places. Please give me tips on debugging, thank you!
Guest Posted February 15, 2006 Posted February 15, 2006 o/p goes to the browser but you may want to stop the script after the print or echo is set, as headers may sent afterwards that could either hide the previous content or the script itself wont execute properly.
ksl8313 Posted February 15, 2006 Author Posted February 15, 2006 so the output from application_top.php goes to the browser as well? what would be syntax to stop the script? because whatever I tried to echo / print, wouldn't show up. Please help. THanks!!!
Guest Posted February 15, 2006 Posted February 15, 2006 try something like die($some_var); then you could enhance it, php has several debug functions like var_dump
Recommended Posts
Archived
This topic is now archived and is closed to further replies.