Search results

  1. V

    if statement question

    I was wondering if you were able to do an if statement which would be something like: if ($money == 5) and ($lvl == 3) Something like that, that's just an example, but was just wondering, or is it like: if($money == 5; $lvl == 3) ?
  2. V

    floor lvl help

    <?php $woodcuttexp = $Exp['woodcuttingexp']; $newwoodcuttinglvl = $Levels['woodcuttinglvl'] + 1; $level = $newwoodcuttinglvl; if (floor($woodcuttexp > 320)){ echo '<font color="yellow">You have reached woodcutting lvl ' . $level . ' </font><br />'; mysql_query("UPDATE `Levels` SET...
  3. V

    Quick php question

    <?php echo '<span style="color:#FFFFFF;">You are cutting ' . $amount . ' wood</span>'; ?>{ } else { <?php echo '<span style="color:#FFFFFF;">You are not currently working..</span>'; ?> } I know I have it messed up, but cant find the right way to fix it. :P.
  4. V

    Javascript Image Mapping help

    <html> <body> <img src ="firstisland.jpg" width ="145" height ="126" alt="Places" usemap="#islandmap" /> <map id ="islandmap" name="islandmap"> <area shape ="rect" coords ="212,74,343,142" href ="hey.php" target ="_blank" alt="Vorogh" /> <area shape ="rect" coords...
  5. V

    Javascript timer with php. Help Please. :D.

    <?php session_start(); if(!session_is_registered(myusername)){ header("location:index.html"); } require_once('db.inc.php'); // function for generating errors function errors($error){ #2 if (!empty($error)) { #3 $i = 0; while ($i < count($error)){ #4 echo "<p><span>".$error[$i]."</span></p>\n"...
Top