Get the full commented source code of

HTML5 Suika Watermelon Game

Talking about Php.

I made this little script to debug my portal script (almost completed) and I want to share it with you.

It simply shows MochiAds feed in a friendly way, using lists.

";
for($x=0;$x<$number_of_games;$x++){
     echo "
    • "; foreach($games_array[games][$x] as $varname => $varvalue) { echo "
    • $varname: "; if(is_array($varvalue)){ echo "
        "; foreach($varvalue as $subvar => $subvalue){ echo "
      1. "; if(is_array($subvalue)){ foreach($subvalue as $lastvar => $lastvalue){ echo "$lastvalue"; if(!$lastvar){ echo ": "; } } } else{ echo "$subvalue"; } echo "
      2. "; } echo "
      "; } else{ if(strpos($varvalue,"http")!==false){ echo "$varvalue"; } else{ echo $varvalue; } } echo "
    • "; } echo "
  • "; } echo ""; ?>

    Hope you will find it useful.

    Never miss an update! Subscribe, and I will bother you by email only when a new game or full source code comes out.