Jump to content
MakeWebGames

One Big Code!


Joel

Recommended Posts

  • Replies 70
  • Created
  • Last Reply

Top Posters In This Topic

Guest Anonymous

Re: One Big Code!

 

<u><h1>Matt Rocks</h1></u>

:O won't fit in return as a error. >>:D

print "<u><h1>Matt Rocks</h1></u>";

Link to comment
Share on other sites

Re: One Big Code!

not really my page was using

<?php

include "globals.php";

print <<<EOF

<u><h5>Matt Rocks</h1></u>

<u><h4>Matt Rocks</h1></u>

<u><h3>Matt Rocks</h1></u>

<u><h2>Matt Rocks</h1></u>

<u><h1>Matt Rocks</h1></u>

 

<font color=red>M</font><font color=green>a</font><font color=red>t</font><font color=green>t</font>

<font color=red>R</font><font color=green>o</font><font color=red>c</font><font color=green>k</font><font color=red>s</font>

 

EOF;

$h->endpage();

?>

Link to comment
Share on other sites

Re: One Big Code!

 

<script language="JavaScript">
var r_text = new Array ();
r_text[0] = "CE is great";
r_text[1] = "Noob attack";
r_text[2] = "Basic Javascripting";
var i = Math.round(2*Math.random());
document.write(r_text[i]);
</script>
Link to comment
Share on other sites

Guest Anonymous

Re: One Big Code!

$server = 'localhost';

$username = 'mysql_user';

$password = 'password';

$database = 'mysql_db';

$theError = 'The database connection could not be established.';

mysql_connect("$server", "$username", "$password") or die ($theError);

mysql_select_db("$database") or die ($theError);

Link to comment
Share on other sites

  • 4 weeks later...

Re: One Big Code!

 

while($row = mysql_fetch_row($criminalexistence))
{
echo'You swore...:O...' .$row['id']. '';
}
if($row['id'] == stupid)
{
die("You're the stupid one n00b");
}
else
{
die("You're still stupid");
}
$h->endpage();
?>
Link to comment
Share on other sites

Re: One Big Code!

 

<?php

echo 'Akash went wrong he would of got a big fat error!';

 

Let me show you where:

 

if($row['id'] == stupid)
[php]

Now insert that into an actual php page and you will get a error, but by doing this:

[php]
if($row['id'] == "stupid")

 

There will be no more error :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...