Re: Php pre menej chapavych

From: hyneklipa.cz <mail (zavinac)>
Date: 16. 09. 2004, 10:27 CEST
co je tohle za konstrukci?
> echo get_header (' domovská stránka',' koncerty, hudba, maséĝi'); # to 

> function get_header ($vari,$metal)
> {
> $header='';
> echo '<?xml version="1.0" encoding="windows-1250"?>'."\r\n";
> echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
> "DTD/xhtml1-strict.dtd">'."\r\n";
> echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" 
> lang="cs">'."\r\n";
> echo '<head>'."\r\n";
> echo '<meta http-equiv="Content-Type" content="text/html; 
> charset=windows-1250" />'."\r\n";
> echo '<title>Worst Day -'.$vari.'</title>'."\r\n";
> ....
>   return ($header);
> }

fce get_header primo vypise ten text, tak proc je tam return a nasledne 
echo get_header, kdyz ta fce vrati, resp. nevrati vubec nic?
to mi teda neni jasne :(((

a navic, neni osetren stav, kdy neni zadan title. sice se nic nedeje, 
ale bude to divoke. napr. 'Worst Day - - jmeno prohlizece' :-/


-- 

-h!-
http://www.hyneklipa.cz/
ICQ: 289612872
Received on Thu, 16 Sep 2004 10:27:29 +0200

This archive was generated by hypermail 2.1.8 : 16. 09. 2004, 10:26 CEST