> Forums > PHP

I

ist der code so ok?

Kefir Fr., 29. September, 2006 um 11:12 #1

[php:1]<?
include("databaseconnection4life.php");

function goodweather()
{
mysql_query("UPDATE tblweather SET temperature='30°', clouds='0', sunshiehours='10', rainatnight='60min'");
}

function nowork()
{
mysql_query("UPDATE tblwork SET worktoday='0sec', dailyincome='500€'");
mysql_query("UPDATE tblweek SET currentday='Saturday'");
}

function happyness()
{
mysql_query("UPDATE happyness='100%', sadness='0%', inlove='100%', love_response='TRUE', felt_age='20'");
}

while (each($day_i_am_alive))
{
goodweather();
nowork();
happyness();
}
?> [/php:1]

aleX Fr., 29. September, 2006 um 12:02 #2

lol

phpinfo Mi., 18. Oktober, 2006 um 23:02 #3

genial *g*



C&M distanziert sich konkret und ausdrücklich vom Inhalt dieses Postings.
Der Ersteller des Postings haftet für seine Äußerungen.
Inhalte, die nicht den Forumsregeln entsprechen sind bitte vom Leser zu melden ...

> Forums > PHP

Du hast bereits für diesen Post angestimmt...

;-)



Logo https://t.ress.at/zedr8/




Top