Results 1 to 2 of 2

Thread: PHP and IFRAMES

  1. #1
    Join Date
    Jan 2006
    Thanked 0 Times in 0 Posts

    Default PHP and IFRAMES

    I hope that this is the correct forum for my question. If not, please let me know which one to post it on and I'll do so.

    I have 2 pages (1 and 2 ... duh). Both are .php files. The first is a mix of html, javascript and php. The second is straight php.

    The first page contains an IFRAME for displaying pages of documents generated in page 2, and contains the controls for which page to display (First, Prev., Next, Last). The controls are anchor tags located outside the IFRAME.

    Page 2 calculates the actual page number and total pages in the document, and stores them in SESSION variables.

    My problem is that I want to display the page number and total number of pages on page 1, outside the IFRAME.

    I've tried a couple of things, like adding <?php echo '$variable name'?> and <?php echo '$_SESSION[variable name]'?>, but nothing seems to work. I think that the problem is that page 1 is never redisplayed. Only the text in the IFRAME changes. So, maybe I have 2 problems: How to get the data from page 2 to page 1, and how to cause it to be displayed without redisplaying page 1.

    I know this is a bit convoluted, and I apologize. But if anyone can help I'd really appreciate it.

  2. #2
    Join Date
    Apr 2015
    Thanked 0 Times in 0 Posts

    Default @pump_upp - best crypto pumps on telegram ! - best crypto pumps on telegram
    Make 1000% and more within 1 day, join channel @pump_upp !

Similar Threads

  1. Iframes with url
    By jatinder.bimra in forum HTML
    Replies: 1
    Last Post: 08-13-2009, 02:03 PM
  2. iframes in IE 7
    By dani-wu in forum HTML
    Replies: 3
    Last Post: 12-29-2008, 12:37 AM
  3. iframes - HELP ME!!!
    By Viewauckland in forum HTML
    Replies: 0
    Last Post: 06-23-2006, 12:55 AM
  4. iFrames - Please Help!!
    By nikomou in forum HTML
    Replies: 6
    Last Post: 08-20-2005, 03:44 PM
  5. iframes help please =]
    By cocopuffs in forum HTML
    Replies: 1
    Last Post: 08-10-2005, 10:34 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts