Jump to content

free_man

New Members
  • Posts

    3
  • Joined

  • Last visited

free_man's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I think Psycho code works fine (at image.php />n\"; must be />\n" ; but i am trying to change a page that a friend made with a tool that generated the code. Because it has many tables and tags in it i guess there should be the problem (view source code ends before i put my php code). Thanks for your answers anyway!
  2. The first page (index.php) loads fine. The problem is that in second page images don't load (i don't get a broken image icon just a white page). I have tried to change ' or " symbols in case the problem is there but nothing happened.
  3. I have the following code in index.php: ... <table width="30%" border="0" cellpadding="7" cellspacing="5"><tr> <td><a href="http://localhost/image.php?view=1"><img src="/images/image(1).JPG" width=200 height=170/></a></td> <td><a href="http://localhost/image.php?view=2"><img src="/images/image(2).JPG" width=200 height=170/></a>></td> <td><a href="http://localhost/image.php?view=3"><img src="/images/image(3).JPG" width=200 height=170/></a></td> </tr> </table> ... where users chooses which image want to see in bigger size using page image.php: <?php $view1= $_GET['view']; if ($view1 == 1) { echo '<img src="/images/image(1).JPG" WIDTH=500 HEIGHT=400/>'; } elseif ($view1 == 2) { echo '<img src="/images/image(2).JPG" WIDTH=500 HEIGHT=400/>'; } else { echo '<img src="/images/image(3).JPG" WIDTH=500 HEIGHT=400/>'; } ?> but photos do not load. Can anyone figure out what's going wrong? Thanks
×
×
  • 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.