Diff for phpMyEdit/doc/sgml/configuration.fields.sgml between version 1.41 and 1.42
| version 1.41, 2004/01/20 11:02:59 |
version 1.42, 2004/01/20 11:04:43 |
|
|
| <!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.40 2004/01/20 10:45:00 nepto Exp $ --> |
<!-- $Platon: phpMyEdit/doc/sgml/configuration.fields.sgml,v 1.41 2004/01/20 11:02:59 nepto Exp $ --> |
| |
|
| <!-- Categories: |
<!-- Categories: |
| |
|
|
|
| <example> |
<example> |
| <title>Storing <constant>NULL</constant> instead of empty string</title> |
<title>Storing <constant>NULL</constant> instead of empty string</title> |
| <programlisting><![CDATA[ |
<programlisting><![CDATA[ |
| $opts['fdd']['col_name']['sqlw'] = 'IF($val_qas = "", NULL, $val_qas)' |
$opts['fdd']['col_name']['sqlw'] = 'IF($val_qas = "", NULL, $val_qas)'; |
| ]]></programlisting> |
]]></programlisting> |
| </example> |
</example> |
| |
|
| Line 865 changed, then apply <function>MD5()</fun |
|
| Line 865 changed, then apply <function>MD5()</fun |
|
| <example> |
<example> |
| <title>Storing password's MD5 hash</title> |
<title>Storing password's MD5 hash</title> |
| <programlisting><![CDATA[ |
<programlisting><![CDATA[ |
| $opts['fdd']['col_name']['sqlw'] = 'IF(col_name = $val_qas, $val_qas, MD5($val_qas))' |
$opts['fdd']['col_name']['sqlw'] = 'IF(col_name = $val_qas, $val_qas, MD5($val_qas))'; |
| ]]></programlisting> |
]]></programlisting> |
| </example> |
</example> |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|