Jump to content

Nami01

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Nami01's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. [!--quoteo(post=354697:date=Mar 13 2006, 05:38 PM:name=keeB)--][div class=\'quotetop\']QUOTE(keeB @ Mar 13 2006, 05:38 PM) [snapback]354697[/snapback][/div][div class=\'quotemain\'][!--quotec--] [code]www.mangacandy.com/vntm/comic.php$id=1_0 [/code] should be.. [code]www.mangacandy.com/vntm/comic.php?id=1_0[/code] aside from that, i'll take a look.. [/quote] Oops! Sorry, I meant www.mangacandy.com/vntwm/comic.php?id=1_0 I was typing fast and made two errors already. o_o the script was copy and pasted though, so thats the actual text. v_v but for some reason it won't work...
  2. Hello, I'm sorry for being such a newbie. I actually really don't know anything about php almost at all. I had a script that my friend made me back in 2003 to help me with my webcomics and I wanted to use it again. I copied it and pasted it, but found it no longer worked. As I have no way of contacting him anymore, my only hope is to figure out something myself. This is the basic idea of the script. <?php $comicpages = array( "1_0"=> array( "piclink"=> "comic/1_0.jpg", "comments"=> "<div align=center>Yum, Ben.</div>", "chapter"=> 1, "page"=> 0, "new"=> 1 ), ); ?> <?php if(isset($id)) { function navigatebar($id, $comicpages) { $plusone = $comicpages[$id]['page'] +1; $minusone = $comicpages[$id]['page'] - 1; if(isset($comicpages[$comicpages[$id]['chapter'] . "_$plusone"])) { ?> | <a href="comic.php?id=<?=($comicpages[$id]['chapter'])?>_<?=$plusone?>"><u><b>&lt;next&lt;</b></u></a> <?php } ?> | reads. right. to. left. | <?php if(isset($comicpages[$comicpages[$id]['chapter'] . "_$minusone"])) { ?> <a href="comic.php?id=<?=($comicpages[$id]['chapter'])?>_<?=$minusone?>"><u><b>&gt;previous&gt;</b></u></a> | <?php } } ?> <!-- BODY TEXT START --> <div align=center> <p>&nbsp; <font size="1"> <br> <? navigatebar($id, $comicpages) ?> <b><img src="<? echo $comicpages['$id']['piclink']; ?>" width="600" height="928" alt="click. to. return." border="0"> <br><a href="./"><img src="<?=$comicpages[$id]['piclink']?>" width="600" height="845" alt="click. to. return." border="0"></a><br> <? navigatebar($id, $comicpages) ?> <BR><BR> </div> <? echo $comicpages[$id]['comments']?> <BR><BR> <?php } ?> </font> If I place '1_0' in the $id area, the image shows on my website. But the another part of the site that is working properly has it so the address for this page would be [indent]www.mangacandy.com/vntm/comic.php$id=1_0 how can I have it so $id will show the value on the top part of my site? Thank you in advance for any help that you can offer me!
×
×
  • 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.