<?xml version="1.0" encoding="iso-8859-2"?>
<rss version="2.0">
<channel>
<title>Call of PHP&MySQL/Oprogramowanie biurowe</title>
<link>http://www.phpwio.pun.pl</link>
<description> Call of PHP&#38;MySQL/Oprogramowanie biurowe</description>
<language>pl</language>
<docs>http://backend.userland.com/rss</docs>
<item>
<title>dla stanola</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=19#p19</link>
<guid isPermaLink="false">19@http://www.phpwio.pun.pl</guid>
<description><![CDATA[&lt;?<br />mysql_connect (&quot;localhost&quot;, &quot;root&quot;, &quot;krasnal&quot;) or<br />&nbsp; &nbsp; die (&quot;Nie można poł±czyć się z MySQL&quot;);<br />mysql_select_db (&quot;cwphp&quot;) or<br />&nbsp; &nbsp; die (&quot;Nie można poł±czyć się z baz± cwphp&quot;);<br />&nbsp; &nbsp; <br />if($_POST['co'] == 'dodaj'){<br />&nbsp; &nbsp;if ($_POST['imie'] && $_POST['nazwisko'] && $_POST['telefon']){<br />&nbsp; &nbsp; &nbsp; $query = &quot;INSERT INTO ksiazkatelefoniczna (imie, nazwisko, &quot;;<br />&nbsp; &nbsp; &nbsp; $query .= &quot;telefon ) VALUES ('&quot;.$_POST['imie'].&quot;','&quot;.$_POST['nazwisko'].&quot;' , '&quot;.$_POST['telefon'].&quot;');&quot;;<br />&nbsp; &nbsp; &nbsp; $wyniki = mysql_query ($query);<br />&nbsp; &nbsp; &nbsp; }<br /><br />}elseif ($_GET['co']== 'skasuj'){<br />&nbsp; &nbsp; $wynik = mysql_query (&quot;DELETE FROM ksiazkatelefoniczna WHERE nr = '&quot;.$_GET['id']. &quot;';&quot;);<br />&nbsp; &nbsp; }<br /><br />$wynik = mysql_query (&quot;SELECT * FROM ksiazkatelefoniczna;&quot;)or<br />&nbsp; &nbsp; die (&quot;bł±d w pytaniu&quot;);<br /><br />print &quot;&lt;TABLE CELLPADDING=5 BORDER=1&gt;&quot;;<br />print &quot;&lt;TR&gt;&lt;TD&gt;&lt;B&gt;Imię&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;&lt;B&gt;Nazwisko&lt;/B&gt;&lt;/TD&gt;&quot;;<br />print &quot;&lt;TD&gt;&lt;B&gt;Telefon&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;\n&quot;;<br /><br />while ($record = mysql_fetch_assoc ($wynik)){<br />&nbsp; &nbsp; $nr = $record['nr'];<br />&nbsp; &nbsp; $imie = $record['imie'];<br />&nbsp; &nbsp; $nazwisko = $record['nazwisko'];<br />&nbsp; &nbsp; $telefon = $record['telefon'];<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; print &quot;&lt;TR&gt;&lt;TD&gt;$imie&lt;/TD&gt;&lt;TD&gt;$nazwisko&lt;/TD&gt;&lt;TD&gt;$telefon&lt;/TD&gt;&lt;TD&gt;&quot;;<br />&nbsp; &nbsp; print &quot;&lt;A HREF=\&quot;cw1.php?co=skasuj&id=$nr\&quot;&gt;&lt;blink&gt;stanczyk&lt;/blink&gt;&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;\n&quot;;<br />&nbsp; &nbsp; }<br />print &quot;&lt;/TABLE&gt;&quot;;<br />print '&lt;FROM METHOD = &quot;POST&quot;&gt;Nowy rekord:';<br />print '&lt;INPUT TYPE=&quot;hidden&quot; NAME=&quot;co&quot; VALUE=&quot;dodaj&quot;&gt;&lt;TABLE&gt;';<br />print '&lt;TR&gt;&lt;TD&gt;&lt;p style=&quot;color:red;&quot;&gt;Imię&lt;/p&gt;&lt;/TD&gt;&lt;TD&gt;&lt;INPUT TYPE=&quot;text&quot;';<br />print 'NAME=&quot;imie&quot;&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;p style=&quot;color:blue;&quot;&gt;Nazwisko:&lt;/p&gt;&lt;/TD&gt;&lt;TD&gt;&lt;INPUT ';<br />print 'TYPE=&quot;text&quot; NAME=&quot;nazwisko&quot;&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;p style=&quot;color:pink;&quot;&gt;Telefon:&lt;/p&gt;&lt;/TD&gt;';<br />print '&lt;TD&gt;&lt;INPUT TYPE=&quot;text&quot; NAME=&quot;telefon&quot;&gt;&lt;/TD&gt;&lt;/TR&gt;';<br />print '&lt;/TABLE&gt;&lt;INPUT TYPE=&quot;submit&quot; VALUE=&quot;Dodaj&quot;&gt;&lt;/FROM&gt;';<br />?&gt;]]></description>
<pubDate>Sobota 26 Listopad</pubDate>
<comments>Sobota 26 Listopad</comments>
</item>
<item>
<title>CIeniutko</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=18#p18</link>
<guid isPermaLink="false">18@http://www.phpwio.pun.pl</guid>
<description><![CDATA[&lt;?<br />mysql_connect (&quot;localhost&quot;, &quot;root&quot;, &quot;krasnal&quot;) or<br />&nbsp; &nbsp; die (&quot;Nie można poł±czyć się z MySQL&quot;);<br />mysql_select_db (&quot;cwphp&quot;) or<br />&nbsp; &nbsp; die (&quot;Nie można poł±czyć się z baz± cwphp&quot;);<br />&nbsp; &nbsp; <br />if ($_POST['co'] == 'dodaj') {&nbsp; // dodawanie rekordu<br />&nbsp; &nbsp; &nbsp; &nbsp; if ($_POST['imie'] && $_POST['nazwisko'] && $_POST['telefon']) { <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $query = &quot;INSERT INTO ksiazkatelefoniczna (imie, nazwisko, &quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $query .= &quot;telefon) VALUES ('&quot;.$_POST['imie'].&quot;', '&quot;.$_POST['nazwisko'].&quot;', '&quot;.$_POST['telefon'].&quot;');&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $wynik = mysql_query ($query);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />}<br /><br />elseif ($_GET['co']== 'skasuj'){<br />&nbsp; &nbsp; $wynik = mysql_query (&quot;DELETE FROM ksiazkatelefoniczna WHERE nr = '&quot;.$_GET['id']. &quot;';&quot;);<br />&nbsp; &nbsp; }<br /><br />$wynik = mysql_query (&quot;SELECT * FROM ksiazkatelefoniczna;&quot;)or<br />&nbsp; &nbsp; die (&quot;bł±d w pytaniu&quot;);<br /><br />print &quot;&lt;TABLE CELLPADDING=5 BORDER=1&gt;&quot;;<br />print &quot;&lt;TR&gt;&lt;TD&gt;&lt;B&gt;Imię&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;&lt;B&gt;Nazwisko&lt;/B&gt;&lt;/TD&gt;&quot;;<br />print &quot;&lt;TD&gt;&lt;B&gt;Telefon&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;\n&quot;;<br /><br />while ($record = mysql_fetch_assoc ($wynik)){<br />&nbsp; &nbsp; $nr = $record['nr'];<br />&nbsp; &nbsp; $imie = $record['imie'];<br />&nbsp; &nbsp; $nazwisko = $record['nazwisko'];<br />&nbsp; &nbsp; $telefon = $record['telefon'];<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; print &quot;&lt;TR&gt;&lt;TD&gt;$imie&lt;/TD&gt;&lt;TD&gt;$nazwisko&lt;/TD&gt;&lt;TD&gt;$telefon&lt;/TD,&gt;&lt;TD&gt;&quot;;<br />&nbsp; &nbsp; print &quot;&lt;A HREF=\&quot;cw1.php?co=skasuj&id=$nr\&quot;&gt;skasuj&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;\n&quot;;<br />&nbsp; &nbsp; }<br />print &quot;&lt;/TABLE&gt;&quot;;<br />print '&lt;FORM METHOD=&quot;POST&quot;&gt;Nowy rekord:';<br />print '&lt;INPUT TYPE=&quot;hidden&quot; NAME=&quot;co&quot; VALUE=&quot;dodaj&quot;&gt;&lt;TABLE&gt;';<br />print '&lt;TR&gt;&lt;TD&gt;Imię:&lt;/TD&gt;&lt;TD&gt;&lt;INPUT TYPE=&quot;text&quot; ';<br />print 'NAME=&quot;imie&quot;&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Nazwisko:&lt;/TD&gt;&lt;TD&gt;&lt;INPUT ';<br />print 'TYPE=&quot;text&quot; NAME=&quot;nazwisko&quot;&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Telefon:&lt;/TD&gt;';<br />print '&lt;TD&gt;&lt;INPUT TYPE=&quot;text&quot; NAME=&quot;telefon&quot;&gt;&lt;/TD&gt;&lt;/TR&gt;';<br />print '&lt;/TABLE&gt;&lt;INPUT TYPE=&quot;submit&quot; VALUE=&quot;Dodaj&quot;&gt;&lt;/FORM&gt;';<br /><br />?&gt;]]></description>
<pubDate>Sobota 26 Listopad</pubDate>
<comments>Sobota 26 Listopad</comments>
</item>
<item>
<title>Excel</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=16#p16</link>
<guid isPermaLink="false">16@http://www.phpwio.pun.pl</guid>
<description><![CDATA[<a href="http://www.speedshare.org/download.php?id=F391951411" target="_blank" rel="nofollow">http://www.speedshare.org/download.php?id=F391951411</a>]]></description>
<pubDate>ÂŚroda 16 Listopad</pubDate>
<comments>ÂŚroda 16 Listopad</comments>
</item>
<item>
<title>filmy</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=15#p15</link>
<guid isPermaLink="false">15@http://www.phpwio.pun.pl</guid>
<description><![CDATA[&lt;?php<br />session_start();<br /><br />// sprawdĄ, czy użytkownik zalogował się, używaj&#177;c poprawnego hasła<br />if ($_SESSION['authuser'] !=1 ) {<br />&nbsp; echo &quot;Przepraszamy, ale nie masz uprawnień do zobaczenia tej strony!&quot;;<br />&nbsp; exit();<br />}<br />?&gt;<br />&lt;html&gt;<br />&lt;head&gt;<br />&lt;title&gt;Witryna o filmach&lt;/title&gt;<br />&lt;/head&gt;<br />&lt;body&gt;<br />&lt;?php include &quot;header.php&quot;; ?&gt;<br />&lt;?php<br />$favmovies = array(&quot;Żywot Briana&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Szarże&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Życie biurowe&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Monty Python i &#166;więty Graal&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Matrix&quot;, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Terminator 2&quot;, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Gwiezdne wojny&quot;, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Bliskie spotkania trzeciego stopnia&quot;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Szesnacie wieczek&quot;, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Golfiarze&quot;);<br /><br />if (isset($_REQUEST['favmovie'])) {<br />&nbsp; echo &quot;Witamy na witrynie użytkowniku &quot;;<br />&nbsp; echo $_SESSION['username'];<br />&nbsp; echo &quot;! &lt;br&gt;&quot;;<br />&nbsp; echo &quot;Mój ulubiony film to &quot;;<br />&nbsp; echo $_REQUEST['favmovie'];<br />&nbsp; echo &quot;&lt;br&gt;&quot;;<br />&nbsp; $movierate = 5;<br />&nbsp; echo &quot;Moja ocena dla tego filmu wynosi &quot;;<br />&nbsp; echo $movierate;<br />} else {<br />&nbsp; echo &quot;Lista &quot;. $_POST[&quot;num&quot;] . &quot; moich najlepszych filmów:&lt;br&gt;&quot;;<br />&nbsp; &nbsp; &nbsp;<br />&nbsp; if (isset($_REQUEST['sorted'])) {<br />&nbsp; &nbsp; sort($favmovies);<br />&nbsp; }<br /><br />&nbsp; //lista filmów<br />&nbsp; $numlist = 1;<br />&nbsp; while ($numlist &lt;= $_POST[&quot;num&quot;]) {<br />&nbsp; &nbsp; echo $numlist;<br />&nbsp; &nbsp; echo &quot;. &quot;;<br />&nbsp; &nbsp; echo pos($favmovies);<br />&nbsp; &nbsp; next($favmovies);<br />&nbsp; &nbsp; echo &quot;&lt;br&gt;\n&quot;;<br />&nbsp; &nbsp; $numlist = $numlist + 1;<br />&nbsp; }&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp;<br /> /* //usuń te wiersze<br />&nbsp; foreach ($favmovies as $currentvalue) {<br />&nbsp; &nbsp; echo $currentvalue;<br />&nbsp; &nbsp; echo &quot;&lt;br&gt;\n&quot;;<br />&nbsp; }*/&nbsp; &nbsp; &nbsp;<br />&nbsp; //koniec usuwanych wierszy<br />}&nbsp; &nbsp; &nbsp;<br />?&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;<br /><br /><br /><br /><br />--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br /><br />&lt;?<br />mysql_connect (&quot;localhost&quot;, &quot;root&quot;, &quot;krasnal&quot;) or <br />&nbsp; &nbsp; die (&quot;Nie można poł±czyć się z MySQL&quot;);<br />mysql_select_db (&quot;cwphp&quot;) or<br />&nbsp; &nbsp; die (&quot;Nie można poł±czyć się z baz± cwphp&quot;);<br /><br />$wynik = mysql_query (&quot;SELECT * FROM ksiazkatelefoniczna;&quot;) or<br />&nbsp; &nbsp; die (&quot;Bład w pytaniu&quot;);<br />&nbsp; &nbsp; <br />print &quot;&lt;TABLE CELLPADDING=5 BORDER=1&gt;&quot;;<br />print &quot;&lt;TR&gt;&lt;TD&gt;&lt;B&gt;Imię&lt;/B&gt;&lt;/TD&gt;&lt;TD&gt;&lt;B&gt;Nazwisko&lt;/B&gt;&lt;/TD&gt;&quot;;<br />print &quot;&lt;TD&gt;&lt;B&gt;Telefon&lt;/B&gt;&lt;/TD&gt;&lt;/TR&gt;\n&quot;;<br /><br />while ($record = mysql_fetch_assoc ($wynik)) {<br />&nbsp; &nbsp; $nr = $record['nr'];<br />&nbsp; &nbsp; $imie = $record['imie'];<br />&nbsp; &nbsp; $nazwisko = $record['nazwisko'];<br />&nbsp; &nbsp; $telefon = $record['telefon'];<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; print &quot;&lt;TR&gt;&lt;TD&gt;$imie&lt;/TD&gt;&lt;TD&gt;$nazwisko&lt;/TD&gt;&lt;TD&gt;$telefon&lt;/TD&gt;&lt;/TR&gt;\n&quot;;<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; print &quot;&lt;/TABLE&gt;&quot;;<br />?&gt;<br />--------------------------------------------]]></description>
<pubDate>Sobota 5 Listopad</pubDate>
<comments>Sobota 5 Listopad</comments>
</item>
<item>
<title>sortowanie</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=13#p13</link>
<guid isPermaLink="false">13@http://www.phpwio.pun.pl</guid>
<description><![CDATA[&lt;?php<br />$smak[]=&quot;malinowy&quot;;<br />$smak[]=&quot;piwa korzennego&quot;;<br />$smak[]=&quot;ananasowy&quot;;<br />$smak[]=&quot;truskawkowy&quot;;<br />?&gt;<br />&lt;?php<br />//echo $smak[0]; <br />//echo &quot;&lt;br&gt;&quot;;<br />//echo $smak[3];<br />echo &quot;&lt;br&gt;&quot;;<br />sort($smak);<br />print_r($smak);<br />?&gt;]]></description>
<pubDate>Sobota 5 Listopad</pubDate>
<comments>Sobota 5 Listopad</comments>
</item>
<item>
<title>Excel</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=12#p12</link>
<guid isPermaLink="false">12@http://www.phpwio.pun.pl</guid>
<description><![CDATA[zadania z excela<br /><br /><br />1. <a href="http://www.speedyshare.com/file/w5gP7/Zeszyt15.xls" target="_blank" rel="nofollow">http://www.speedyshare.com/file/w5gP7/Zeszyt15.xls</a>]]></description>
<pubDate>PiĹˇtek 4 Listopad</pubDate>
<comments>PiĹˇtek 4 Listopad</comments>
</item>
<item>
<title>co to jest?</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=11#p11</link>
<guid isPermaLink="false">11@http://www.phpwio.pun.pl</guid>
<description><![CDATA[Wiesz o co chodzi ;D]]></description>
<pubDate>ÂŚroda 2 Listopad</pubDate>
<comments>ÂŚroda 2 Listopad</comments>
</item>
<item>
<title>co to jest?</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=10#p10</link>
<guid isPermaLink="false">10@http://www.phpwio.pun.pl</guid>
<description><![CDATA[hahaha]]></description>
<pubDate>ÂŚroda 2 Listopad</pubDate>
<comments>ÂŚroda 2 Listopad</comments>
</item>
<item>
<title>co to jest?</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=9#p9</link>
<guid isPermaLink="false">9@http://www.phpwio.pun.pl</guid>
<description><![CDATA[czyli sex oralny]]></description>
<pubDate>Niedziela 30 PaÂździernik</pubDate>
<comments>Niedziela 30 PaÂździernik</comments>
</item>
<item>
<title>co to jest?</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=8#p8</link>
<guid isPermaLink="false">8@http://www.phpwio.pun.pl</guid>
<description><![CDATA[<img class="postimg" src="http://mainhg.demotywatory.pl/uploads/1262126810_by_Tribiani_500.jpg" alt="http://mainhg.demotywatory.pl/uploads/1262126810_by_Tribiani_500.jpg" />]]></description>
<pubDate>Sobota 29 PaÂździernik</pubDate>
<comments>Sobota 29 PaÂździernik</comments>
</item>
<item>
<title>notatka z 2011-10-29 (sobota)</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=7#p7</link>
<guid isPermaLink="false">7@http://www.phpwio.pun.pl</guid>
<description><![CDATA[<p class="center">Operatory przypisania i porównania<br /><br /><br />=&nbsp; &nbsp; $a=$b<br />==&nbsp; $a==$b<br />+=&nbsp; $a+=$b&nbsp; &nbsp; &nbsp;$a=$a+$b<br />-=&nbsp; &nbsp;$a-=$b&nbsp; &nbsp; &nbsp; $a=$a-$b<br />*=&nbsp; $a*=$b&nbsp; &nbsp; &nbsp; $a=$a*$b<br />/=&nbsp; &nbsp;$a/=$b&nbsp; &nbsp; &nbsp; $a=$a/$b<br />%=&nbsp; $a%=$b&nbsp; &nbsp; $a=$a%$b<br /><br /><br /><p class="center">Operatory intermentacji/dekrementacji<br /><br />++$a Pre-intermentacja (Najpierw zwiększa $a o 1, a potem zwraca $a<br /><br />$a++ Post-intermentacja (Najpierw zwraca $a. potem zwiększa o 1<br /><br />-- $a Pre-dekrementacja (Najpierw zwiększa $a o 1, potem zwraca $a<br /><br />$a- Post-dekrementacja (Najpierw zwraca $a, potem zmniejsza o 1<br /><br /><br /><p class="center">Operacje na stringach<br /><br />a) $a=$b.$c - ł±czenie stringów (Do stringa $a zapisz poł±czenie dwóch stringów, $b i $c<br /><br />b) $a.=$b (Do stringa $a doklej zawarto¶ć stringa $b]]></description>
<pubDate>Sobota 29 PaÂździernik</pubDate>
<comments>Sobota 29 PaÂździernik</comments>
</item>
<item>
<title>Korzystanie?</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=6#p6</link>
<guid isPermaLink="false">6@http://www.phpwio.pun.pl</guid>
<description><![CDATA[Do używania polecamy zwykły notatnik/notepad++ lub inny program do tworzenia.]]></description>
<pubDate>Sobota 29 PaÂździernik</pubDate>
<comments>Sobota 29 PaÂździernik</comments>
</item>
<item>
<title>$czas2</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=5#p5</link>
<guid isPermaLink="false">5@http://www.phpwio.pun.pl</guid>
<description><![CDATA[&lt;html&gt;<br />&lt;head&gt;<br />&lt;title&gt; Pierwszy program w PHP &lt;/title&gt;<br />&nbsp; &nbsp; &lt;/head&gt;<br />&lt;body&gt;<br />&lt;?php<br />$godzina=date(&quot;H&quot;);<br />$minuta=date(&quot;i&quot;);<br />$sekunda=date(&quot;s&quot;);<br /><br />echo(&quot;&lt;br&gt;$godzina-$minuta-$sekunda&quot;);<br /><br />$dzien=date(&quot;d&quot;);<br />$miesiac=date(&quot;m&quot;);<br />$rok=date(&quot;Y&quot;);<br /><br />echo(&quot;&lt;br&gt;$dzien-$miesiac-$rok&quot;);<br /><br />?&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;]]></description>
<pubDate>Sobota 29 PaÂździernik</pubDate>
<comments>Sobota 29 PaÂździernik</comments>
</item>
<item>
<title>$czas</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=4#p4</link>
<guid isPermaLink="false">4@http://www.phpwio.pun.pl</guid>
<description><![CDATA[&lt;html&gt;<br />&lt;head&gt;<br />&lt;title&gt; Pierwszy program w PHP &lt;/title&gt;<br />&nbsp; &nbsp; &lt;/head&gt;<br />&lt;body&gt;<br />&lt;?php<br />$czas=date(&quot;U&quot;); //odczytaj date do zmienniej $czas<br />echo (&quot;Data w formacie UNIXa:&nbsp; &nbsp;&lt;br&gt;&quot;.$czas.&quot;&lt;/br&gt;&lt;br&gt;&quot;);<br />echo (&quot;Data w formacie ludzkim: &lt;br&gt;&quot;.date(&quot;H:i:s d-m-Y&quot;).&quot;&lt;/br&gt;&lt;br&gt;&quot;);<br />$czas+=60*60*24*10;<br />echo (&quot;Data o 10 dni pozniejsza w formacie ludzkim: &lt;br&gt;&quot;.date(&quot;H:i:s d-m-Y&quot;,$czas).&quot;&lt;/br&gt;&lt;br&gt;&quot;);<br />?&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;]]></description>
<pubDate>Sobota 29 PaÂździernik</pubDate>
<comments>Sobota 29 PaÂździernik</comments>
</item>
<item>
<title>stringi</title>
<link>http://www.phpwio.pun.pl/viewtopic.php?pid=3#p3</link>
<guid isPermaLink="false">3@http://www.phpwio.pun.pl</guid>
<description><![CDATA[&lt;html&gt;<br />&lt;head&gt;<br />&lt;title&gt; Pierwszy program w PHP &lt;/title&gt;<br />&nbsp; &nbsp; &lt;/head&gt;<br />&lt;body&gt;<br />&lt;?php<br />$imie =&quot;twoje_imie&quot;;<br />$nazwisko =&quot;twoje_nazwisko&quot;;<br />echo(&quot;Imie: &quot;); echo($imie);<br />echo (&quot;&lt;br&gt;Nazwisko:&nbsp; &quot;); echo(&quot;$nazwisko&quot;);<br /><br />// ł±czenie stringów<br /><br /><br />echo(&quot;&lt;br&gt;Metryka:&nbsp; &quot;);<br />echo($metryka);<br />echo($imie.=$nazwisko);<br />echo(&quot;&lt;br&gt;Po doklejeniu zmienna imie zawiera&nbsp; &quot;);<br />echo($imie);<br /><br />?&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;]]></description>
<pubDate>Sobota 29 PaÂździernik</pubDate>
<comments>Sobota 29 PaÂździernik</comments>
</item>
</channel>
</rss>
