[SOLVED] Passing variable value to iframe

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

ljCharlie wrote:I didn't paste the code PHP code but the full image are suppose to be displayed be low this line:

Code: Select all

//****************************************Display the full picture below here************************************
well, I believe it should be something like this:

Code: Select all

//*********************************Display the full picture below here********************************
if(!empty($_GETї'image_id']) ) 
   echo '<img src="images/'.$_GETї'image_id'].'.png">';

Code: Select all

//..........
foreach($images as $image) {
   echo '<a href="index.php?image_id=' . $image . '&sectionID='.$_GETї'var'].'" target="_parent">';
   // display img tag for thumbnail picture here
   echo '</a>';
}
//...........
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

I don't know if it was mentioned, but you should take a look at Harry Fueck's ScriptServer. I does this sort inter-frame call.
ljCharlie
Forum Contributor
Posts: 289
Joined: Wed May 19, 2004 8:23 am

Post by ljCharlie »

Weirdan, thanks! I'll try to implement that.

ljCharlie
Post Reply