21 апреля 2005

За что я люблю xsl

бага, лови 5 минут при переходе с MyISAM на INNODB

< xsl:template name="mysql-commit-transaction" match="mysql-commit-transaction">
< xsl:if test="$OPTION_USE_SQL_TRANSACTIONS !=''">
$transresult = mysql_query("rollback");
if (!$transresult) die("Fault during transaction commit: ".mysql_error());

< /xsl:template>

< xsl:template name="mysql-rollback-transaction" match="mysql-rollback-transaction">
$transresult = mysql_query("commit");
if (!$transresult) die("Fault during transaction rollback: ".mysql_error());
< /xsl:template>

Комментариев нет:

Архив блога

What to do?

Problem:
you have site designed in a dark theme, saying dark background, white font.
By default google toolbar autocomplete cracks html for inputs or selects containg "email" "name" "address" and other buzzwords and changes background to yellow. As a result when visitor fills form, he enters text as white on yellow and can not easy validate his input
What to do?

Таги

Followers

item http://www.voronenko.com/2005/04/xsl.html