--- nfo/php/libs/com.newsblob.phphtmllib/examples/example1.php 2003/02/22 21:07:19 1.2
+++ nfo/php/libs/com.newsblob.phphtmllib/examples/example1.php 2003/09/20 00:20:55 1.3
@@ -6,7 +6,7 @@
* page.
*
*
- * $Id: example1.php,v 1.2 2003/02/22 21:07:19 jonen Exp $
+ * $Id: example1.php,v 1.3 2003/09/20 00:20:55 jonen Exp $
*
* @author Walter A. Boring IV
* @package phpHtmlLib
@@ -45,7 +45,10 @@
//if you want phphtmllib to render the
//output as viewable source code
//then add ?debug=1 to the query string to this script
-$page->set_text_debug( $_GET["debug"] );
+if (isset($_GET['debug'])) {
+ $page->set_text_debug( TRUE );
+}
+
//add the obligitory hello world