Jump to content

nebuLa

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Posts posted by nebuLa

  1. I'm using a script and whenever a page is generated, the URL for the links are being called twice. Example:

    Here is the code from the section of the file I'm having issues with:
    [code] <a href="/viewimage/<?=$filename?>" target="_blank" class="pagelinks" >View Image and Codes</a>&nbsp;&nbsp;<a class="pagelinks" href="<?=HOMEPAGE?>upload"><b>Upload Another<b></a><br><br>
    <a href="/viewimage/<?=$filename?>" target="_blank"><img src="<?=$filename?>" border="0" width="170"></a><br>[/code]

    Here is what's happening:

    When I click on View Image and Codes, it takes me here:
    http://www.punkyourspace.com/viewimage/http://www.punkyourspace.com/uploads/images/2006-12-29/86Vgcu7dgx.png

    When I click on Upload Another, it takes me here(this is correct):
    http://www.punkyourspace.com/upload

    Here is a screnshot of the page, or you can visit it and try for yourself at http://www.punkyourspace.com/upload

    [img]http://www.punkyourspace.com/uploads/images/2006-12-29/GEawioYY32.jpg[/img]
  2. First off, thanks for helping me solve the last couple problems I've had. You guys are awesome. This one definately has me stumped. I paid for this script on eBay and cannot find any support for it. The site I'm using it on is:

    [url=http://www.wallofflames.com]http://www.wallofflames.com[/url]

    The page I'm having issues with is:

    [url=http://www.wallofflames.com/get_featured.php]http://www.wallofflames.com/get_featured.php[/url]

    When I or anyone else adds a myspace friend ID in the box and clicks to pay with PayPal, the next page is just blank. I'll attach the get_featured.php and featured.php files here.

    [attachment deleted by admin]
  3. [quote author=hitman6003 link=topic=117987.msg481776#msg481776 date=1165691604]
    Use a SUM query...

    [code]SELECT SUM(gamesplayed) as total_games_played_for_site FROM games[/code]
    [/quote]
    Thanks SOOOO much. That worked great!
  4. I want to echo the total games played on my index page of my arcade(http://www.wallofflames.com/arcade). The script does track the totals, but how would I go about grabbing the total of all games played from the database?Would anyone here know how I would grab the total games played from the database? BTW, this forum seems like a great site and I'm sure I will learn a lot here :-)

    TIA
  5. I hope someone understands what I'm saying :-)

    I have this arcade script, which I've modified. I want most played games and newest games in the same column, right next to each other.

    [b]I want it to look like this:[/b]
    [IMG]http://www.wallofflames.com/myspace/uploads/want.jpg[/img]

    This is how it is now:
    http://www.wallofflames.com/arcade

    [b]This will put one over the other....[/b]
    echo $sys->doMostPlayed(); echo $sys->doNewestGames();

    [b]This will do the same....[/b]
    echo $sys->doMostPlayed();
    echo $sys->doNewestGames();

    What code would I use to do this? Any help is appreciated :-)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.