gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r2290 - GNUnet-docs/WWW/test/tmp


From: grothoff
Subject: [GNUnet-SVN] r2290 - GNUnet-docs/WWW/test/tmp
Date: Sun, 27 Nov 2005 15:08:10 -0800 (PST)

Author: grothoff
Date: 2005-11-27 15:08:09 -0800 (Sun, 27 Nov 2005)
New Revision: 2290

Modified:
   GNUnet-docs/WWW/test/tmp/jobs.php
Log:
typo

Modified: GNUnet-docs/WWW/test/tmp/jobs.php
===================================================================
--- GNUnet-docs/WWW/test/tmp/jobs.php   2005-11-27 21:07:46 UTC (rev 2289)
+++ GNUnet-docs/WWW/test/tmp/jobs.php   2005-11-27 23:08:09 UTC (rev 2290)
@@ -8,12 +8,14 @@
   if (!$db_selected) 
      die ('Error selecting db : ' . mysql_error());  
 }
-echo "<html><body><table>\n";
+echo "<html><body>\n";
 $query = "SELECT * FROM jobs";
 $result = mysql_query($query, $connection);
 $num = 0;
 if ($result)
   $num = mysql_num_rows($result);
+echo "Database has $num entries.<br>\n";
+echo "<table border=5>\n";
 for ($ii=0;$ii<$num;$ii++) {
   $row = mysql_fetch_array($result); 
   printf("<tr><a href=\"%s\">%s</a><td><td>%s</td></tr>\n", 
@@ -21,5 +23,6 @@
          $row["name"],
          $row["appDeadline"]);
 }
-echo "</table></body></html>\n"
+echo "</table>\n";
+echo "</body></html>\n"
 ?>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]