User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » post a php function currently relevant to you Page [1]  
evan
All American
27701 Posts
user info
edit post

function goToWork ($numberOfProjects, $theWeather, $currentMood) {

if (date("H") >= 8 && !(strpos($theWeather,"raining")) && $currentMood == "ok") {
return "yep";
} else {
return "nope";
}

}


[Edited on August 18, 2008 at 11:32 AM. Reason : ]

8/18/2008 11:18:21 AM

Aficionado
Suspended
22518 Posts
user info
edit post

void

[Edited on August 18, 2008 at 11:24 AM. Reason :

8/18/2008 11:24:06 AM

evan
All American
27701 Posts
user info
edit post

PHP FUNCTION NGGA

8/18/2008 11:24:40 AM

DirtyMonkey
All American
4269 Posts
user info
edit post

^^^

NOTICE: Undefined Variable "currentMoot" in evan.php on line 3.

for me:


sleep(60*60*8);


[Edited on August 18, 2008 at 11:32 AM. Reason : current]

8/18/2008 11:31:43 AM

evan
All American
27701 Posts
user info
edit post

lmao

gotta love dem typos

8/18/2008 11:33:01 AM

Seotaji
All American
34244 Posts
user info
edit post

<html>
<body>

<?php
function writeMyName()
{
echo "Evan is a bitch-ass trick";
}

echo "Hello world!<br />";
echo "My name is ";
writeMyName();
echo ".<br />That's right, ";
writeMyName();
echo " is my name.";
?>

</body>
</html>

8/18/2008 11:34:33 AM

Stein
All American
19842 Posts
user info
edit post

You should use single quotes.

8/18/2008 11:42:40 AM

tsavla
All American
6787 Posts
user info
edit post

move this to tech-talk

lock the mofo

8/18/2008 12:10:49 PM

Shadowrunner
All American
18332 Posts
user info
edit post

your function has a parameter that you don't even use

tighten up your code like whoa

8/18/2008 12:39:34 PM

DPK
All American
2390 Posts
user info
edit post

function isRelevant($topic) {

if ($topic['user'] == "evan") {
return "fail";
} else {
return "nom nom nom";
}

}

8/18/2008 12:58:28 PM

BigMan157
no u
103354 Posts
user info
edit post

header("Location:".preg_replace("/[w]{3}?\.?(brentroad|thewolfweb)/","www.thewolfweb",$_SERVER[''SERVER_NAME']).$_SERVER['REQUEST_URI']);

8/18/2008 1:04:46 PM

evan
All American
27701 Posts
user info
edit post

^win.

8/18/2008 2:18:26 PM

 Message Boards » Chit Chat » post a php function currently relevant to you Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.