Jump to content

Junaid R

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Junaid R

  1. echo '<a href="game.php?id=$row->gameTitle" style="display:block; text-decoration:none;">';
  2. man just suggest me what to read to learn some advanced php.. all the tutorials are too old and simple. and bro you were saying that echo and quotes are missing. you can also see that the statement which is without echo and qoutes does conatain a lot of quotes itself.. so they conflict with eachother
  3. well.. yes. i have gaminig website. and i've made just one page for playing online for all games. i have used this php syntax in my page to get variable from the url and compare it with the if statements and execute the true code block. this code works fine when i replace the <div id="miniclip-game-embed" data-game-name="8-ball-pool-multiplayer" data-theme="0" data-width="750" data-height="520" data-language="en"></div>; thing with echo "Whatever"; it works fine then..
  4. <?php $game = $_GET["id"]; if ($game == ballpool) { <div id="miniclip-game-embed" data-game-name="8-ball-pool-multiplayer" data-theme="0" data-width="750" data-height="520" data-language="en"></div>; } elseif ($game == minisoccer) { <div id="miniclip-game-embed" data-game-name="soccer-stars" data-theme="0" data-width="750" data-height="450" data-language="en"></div> } else { echo "Invalid Request"; } ?>
×
×
  • Create New...