mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Sorry I had no time during the LinuxDays at Stuttgart.
over the documentation. We used the Mandrake 7.1 and the stylesheet are not supported. Since the Mandrake documentation for version 7.1 is done with the with DocBook, we will get tomorrow some support from the people who are hanging around at the LinuxDay in Stuttgart git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@27490 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3dc444c351
commit
8760403ff1
2 changed files with 19 additions and 19 deletions
|
@ -50,8 +50,6 @@ mail("nobody@aol.com", "the subject", $message,
|
|||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
</reference>
|
||||
|
||||
<refentry id="function.ezmlm-hash">
|
||||
<refnamediv>
|
||||
<refname>ezmlm_hash</refname>
|
||||
|
@ -63,29 +61,29 @@ mail("nobody@aol.com", "the subject", $message,
|
|||
<funcprototype>
|
||||
<funcdef>int <function>ezmlm_hash</function></funcdef>
|
||||
<paramdef>string <parameter>addr</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<simpara>
|
||||
<function>ezmlm_hash</function> calculates the hash value needed
|
||||
when keeping EZMLM mailing lists in a MySQL database.
|
||||
<function>ezmlm_hash</function> calculates the hash value needed
|
||||
when keeping EZMLM mailing lists in a MySQL database.
|
||||
</simpara>
|
||||
<para>
|
||||
<example>
|
||||
<title>Calculating the hash and subscribing a user.</title>
|
||||
<title>Calculating the hash and subscribing a user</title>
|
||||
<programlisting>
|
||||
$user = "kris@koehntopp.de";
|
||||
$hash = ezmlm_hash($user);
|
||||
$query = sprintf("INSERT INTO sample VALUES (%s,'%s')",
|
||||
$hash,
|
||||
$user
|
||||
);
|
||||
$db->query($query); // using PHPLIB db interface
|
||||
$user = "kris@koehntopp.de";
|
||||
$hash = ezmlm_hash ($user);
|
||||
$query = sprintf ("INSERT INTO sample VALUES (%s, '%s')", $hash, $user);
|
||||
$db->query($query); // using PHPLIB db interface
|
||||
</programlisting>
|
||||
</example></para>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
</reference>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
|
|
|
@ -2133,11 +2133,13 @@ echo str_repeat ("-=", 10);
|
|||
in <parameter>str2</parameter>.
|
||||
</simpara>
|
||||
<para>
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
strspn("42 is the answer, what is the question ...","1234567890");
|
||||
</programlisting>
|
||||
will return 2 as result.
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
strspn ("42 is the answer, what is the question ...", "1234567890");
|
||||
</programlisting>
|
||||
<para>
|
||||
will return 2 as result.
|
||||
</para>
|
||||
</informalexample>
|
||||
</para>
|
||||
<simpara>
|
||||
|
|
Loading…
Reference in a new issue