Re: cvs: pearweb /public_html authors.php test.php /sql Makefile addusers.php cvs_acl.sql data.php users.sql

From: Date: Mon, 12 Nov 2001 16:03:08 +0000
Subject: Re: cvs: pearweb /public_html authors.php test.php /sql Makefile addusers.php cvs_acl.sql data.php users.sql
References: 1  Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-1303@lists.php.net to get a copy of this message
Did you hear about an HTML_Table class in PEAR ? ;-) >> while (is_array($row = $sth->fetchRow(DB_FETCHMODE_ASSOC))) { >> extract($row); >> if (++$rowno % 2) { >> - print " <TR bgcolor=\"#e8e8e8\">\n"; >> + print " <tr bgcolor=\"#e8e8e8\">\n"; >> } else { >> - print " <TR BGCOLOR=\"#e0e0e0\">\n"; >> + print " <tr bgcolor=\"#e0e0e0\">\n"; >> } >> - print " <TD>$handle</TD>\n"; >> - print " <TD>$name</TD>\n"; >> + print " <td>$handle</td>\n"; >> + print " <td>$name</td>\n"; >> >> if ($showemail) { >> - print " <TD><A >> HREF=\"mailto:$email\">$email</A></TD>\n"; >> + print " <td><a >> href=\"mailto:$email\">$email</a></td>\n"; >> } else { >> - print " <TD>(not shown)</TD>\n"; >> + print " <td>(not shown)</td>\n"; >> } >> if (!empty($homepage)) { >> - print "<TD><A >> HREF=\"$homepage\">$homepage</A></TD>"; >> + print "<td><a >> href=\"$homepage\">$homepage</a></td>"; >> } else { >> - print '<TD>&nbsp;</TD>'; >> + print '<td>&nbsp;</td>'; >> } >> - print "\n <TD><A >> >> HREF=\"edit-author.php?handle=".$row['handle']."\">[edit]</A>&nbsp; >> - <A >> >> HREF=\"detail-author.php?handle=".$row['handle']."\">[details]</A></TD>\n"; >> - print " </TR>\n"; >> + print "\n <td><a >> >> href=\"edit-author.php?handle=".$row['handle']."\">[E]</a>&nbsp; >> + <a >> >> href=\"detail-author.php?handle=".$row['handle']."\">[I]</A></td>\n"; >> + print " </tr>\n"; >> } >> >> -print "</TABLE>\n"; >> +print "</table>\n";

« previous php.pear.cvs (#1303) next »