Select City:



Warning: include(../../../../includeFix.inc) [function.include]: failed to open stream: No such file or directory in /home/niranjan/public_html/indogram/newIndogram/__mag/humor/345.html on line 3

Warning: include() [function.include]: Failed opening '../../../../includeFix.inc' for inclusion (include_path='.:/usr/lib/php') in /home/niranjan/public_html/indogram/newIndogram/__mag/humor/345.html on line 3
Chartoon


Final Stretch...Or Last Straw?




After the Final Debate




Obamathematics!


Vijay Char is a fulltime engineer and sometime musician and artist. His website is at www.chartoons.com.


Comments on this Article

<%@ page import='java.io.*, java.util.*, java.sql.*' %> <%@ include file='basiccomments.jsp' %> <%! void printOut (JspWriter out, ResultSet rs) throws Exception { out.println ("

\n"); String url = rs.getString(5); out.println ("" + rs.getString (1) + " "); // Name out.println ("[" + rs.getString (2) + ". "); // Location out.println (java.text.DateFormat.getDateTimeInstance().format (rs.getTimestamp(3)) + "]"); if ((url!= null) && (url.length()>11)&& (url.substring(0,7).equals ("http://")) ) { out.println (" "); out.println ("Website"); out.println (""); } out.println ("
" + rs.getString (4)); out.println ("

"); out.flush(); } %> <% try { Class.forName("com.mysql.jdbc.Driver"); //out.println ("After class...
"); Connection conn = DriverManager.getConnection(url, user, password); //out.println ("After conn...
"); PreparedStatement stmt = conn.prepareStatement("SELECT Name, Location, CommentTime, Comments, URL FROM Comments WHERE CommentId=? and CommentType=? order by CommentTime desc"); stmt.setInt (1, Integer.parseInt (request.getParameter ("cid"))); stmt.setString (2, request.getParameter ("cmtType")); ResultSet rs = stmt.executeQuery(); if (rs.next()) { printOut(out, rs); while (rs.next()) printOut (out, rs); } else out.println ("

Be the first to comment on this item.

"); } catch (Exception e) { out.println (e); } %>

news
Copyright© indogram.com, 2000-2007. All rights reserved.







































Indogram