outputStory($_GET[ article ]); showComments($_GET[ article ], TRUE); require_once footer.php ; ?> 2. Now, (Jetty web server)
outputStory($_GET[ article ]); showComments($_GET[ article ], TRUE); require_once footer.php ; ?> 2. Now, create comment.php:
Add a comment
3. Go back to the index by clicking the Articles link. Click the Full Story link below the snippet of the article you want to view. The full article should appear, complete with a link to add comments. How It Works The first page, viewarticle.php, is very short, yet it illustrates the nature of included files and functions wonderfully. As you can see, there is no content displayed directly with viewarticle. It simply includes the necessary files and uses two functions to display the article and all of the comments. 470 Chapter 13
Check Tomcat Web Hosting services for best quality webspace to host your web application.