debugging and getting output from php code embedded in html

From: Date: Fri, 07 Jul 2000 17:45:20 +0000
Subject: debugging and getting output from php code embedded in html
Groups: php.general 
Request: Send a blank email to php-general+get-5420@lists.php.net to get a copy of this message
I am extremely green and just starting my php journey. how do i display output information in an HTML file for debugging purposes? currently, it seems all my "echo" commands in the html file do not display when i browse the file. where are these echo commands going? are they going to the great bit bucket in the sky??? how do i get them to display?? am i missing something really basic here? here is the code fragment ----> $conn = pg_Connect("host=localhost user=mcsauto dbname=mcsauto"); if (!$conn) { echo "Error !!!.\n"; echo "No Error !!!.\n" } ; in either case...success or failure...shouldn't i be getting a message when i browse the file? thank you for your patience....this list is really great!!! Jim Purvins

« previous php.general (#5420) next »