adding two more examples and linking to each other

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138034 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2003-08-16 23:38:35 +00:00
parent dc12b3bc55
commit 0498d7da39
2 changed files with 38 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/info.xml, last change in rev 1.3 -->
<refentry id="function.php-logo-guid">
<refnamediv>
@ -16,11 +16,27 @@
This function returns the ID which can be used to display the PHP logo
using the built-in image.
</para>
<para>
<example>
<title><function>php_logo_uid</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
echo '<im src="' . $_SERVER['PHP_SELF'] .
'?=' . php_logo_guid() . '" alt="PHP Logo !" />';
?>
]]>
</programlisting>
</example>
</para>
<para>
See also
<function>phpinfo</function>,
<function>phpversion</function>, and
<function>phpcredits</function>.
<function>phpversion</function>,
<function>phpcredits</function> and
<function>zend_logo_guid</function>.
</para>
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/info.xml, last change in rev 1.39 -->
<refentry id="function.zend-logo-guid">
<refnamediv>
@ -16,6 +16,24 @@
This function returns the ID which can be used to display the Zend logo
using the built-in image.
</para>
<para>
<example>
<title><function>zend_logo_uid</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
echo '<im src="' . $_SERVER['PHP_SELF'] .
'?=' . zend_logo_guid() . '" alt="Zend Logo !" />';
?>
]]>
</programlisting>
</example>
</para>
<para>
See also <function>php_logo_guid</function>.
</para>
</refsect1>
</refentry>