{"id":48,"date":"2010-05-14T17:33:00","date_gmt":"2010-05-14T16:33:00","guid":{"rendered":"http:\/\/www.monogatari.info\/?p=48"},"modified":"2010-05-14T17:33:00","modified_gmt":"2010-05-14T16:33:00","slug":"talvez-nao-seja-muito-original","status":"publish","type":"post","link":"https:\/\/monogatari.info\/index.php\/2010\/05\/14\/talvez-nao-seja-muito-original\/","title":{"rendered":"Talvez n\u00e3o seja muito original&#8230;"},"content":{"rendered":"<p>&#8230; mas apeteceu-me.<\/p>\n<pre>&lt;?php<br \/><br \/>mysql_select_db(\"WC\") or die(mysql_error());<br \/>echo \"Connected to Database\";<br \/><br \/>$wc = mysql_query(\"SELECT * FROM WC WHERE temperatura = 'Morna'\")or die(mysql_error());<br \/><br \/>while ($row = mysql_fetch_array($wc))<br \/>{<br \/> for($banho = 30; $banho &lt;= 30; $banho++)<br \/> {<br \/>  echo $row[\"agua\"];<br \/>  echo $row[\"shampoo\"];<br \/>  echo $row[\"gel\"];<br \/>  echo $row[\"pasta_dentes\"];<br \/>  echo $row[\"espuma_barba\"];<br \/> }<br \/>}<br \/>$fim_banho = mysql_query(\"SELECT * from WC where owner = 'Ele'\");<br \/><br \/>$row = mysql_fetch_array($fim_banho);<br \/><br \/>echo $fim_banho[\"Toalha\"];<br \/>echo $fim_banho[\"Pente\"];<br \/>echo $fim_banho[\"Roupa\"];<br \/><br \/>exit;<br \/>?&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&#8230; mas apeteceu-me. &lt;?phpmysql_select_db(&#8220;WC&#8221;) or die(mysql_error());echo &#8220;Connected to Database&#8221;;$wc = mysql_query(&#8220;SELECT * FROM WC WHERE temperatura = &#8216;Morna'&#8221;)or die(mysql_error());while ($row = mysql_fetch_array($wc)){ for($banho = 30; $banho &lt;= 30; $banho++) { echo $row[&#8220;agua&#8221;]; echo $row[&#8220;shampoo&#8221;]; echo $row[&#8220;gel&#8221;]; echo $row[&#8220;pasta_dentes&#8221;]; echo $row[&#8220;espuma_barba&#8221;]; }}$fim_banho = mysql_query(&#8220;SELECT * from WC where owner = &#8216;Ele'&#8221;);$row = mysql_fetch_array($fim_banho);echo $fim_banho[&#8220;Toalha&#8221;];echo $fim_banho[&#8220;Pente&#8221;];echo $fim_banho[&#8220;Roupa&#8221;];exit;?&gt;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,9],"tags":[],"class_list":["post-48","post","type-post","status-publish","format-standard","hentry","category-dia-a-dia","category-escrita-creativa"],"_links":{"self":[{"href":"https:\/\/monogatari.info\/index.php\/wp-json\/wp\/v2\/posts\/48","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monogatari.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monogatari.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monogatari.info\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monogatari.info\/index.php\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":0,"href":"https:\/\/monogatari.info\/index.php\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"wp:attachment":[{"href":"https:\/\/monogatari.info\/index.php\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monogatari.info\/index.php\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monogatari.info\/index.php\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}