… mas apeteceu-me.
<?php
mysql_select_db("WC") or die(mysql_error());
echo "Connected to Database";
$wc = mysql_query("SELECT * FROM WC WHERE temperatura = 'Morna'")or die(mysql_error());
while ($row = mysql_fetch_array($wc))
{
for($banho = 30; $banho <= 30; $banho++)
{
echo $row["agua"];
echo $row["shampoo"];
echo $row["gel"];
echo $row["pasta_dentes"];
echo $row["espuma_barba"];
}
}
$fim_banho = mysql_query("SELECT * from WC where owner = 'Ele'");
$row = mysql_fetch_array($fim_banho);
echo $fim_banho["Toalha"];
echo $fim_banho["Pente"];
echo $fim_banho["Roupa"];
exit;
?>
…okay!
Vá, agora, tudo em Português lol
Comments are closed.