Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8775985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T18:56:29+00:00 2026-06-13T18:56:29+00:00

I previously asked this question but need more help. Read this, then I will

  • 0

I previously asked this question but need more help. Read this, then I will provide exact details at the end.

I have successfully transformed the static website I built for my podcast (www.noformatpodcast.com) into a dynamic website in Dreamweaver (on a testing server for now). I have done this without having to learn PHP or MySQL really at all by using the “Database”, “Bindings” and “Server Behaviors” tabs in Dreamweaver. THE ONLY THING I AM NOT ABLE TO FIGURE OUT is how to get a page to generate dynamically when some one clicks a link using information about that link to create the page. For example, I have a grid of dynamically generated episodes on the index.php page. When someone clicks the link for, say, episode 55, I want it to load the episode page (which I have already created) and fill in the information from episode 55 such as date, title, blurb etc. If someone clicks the link for episode 43, I want THE SAME page to load and dynamically populate the the page with the info from episode 43. Is this possible to do with Dreamweaver’s GUI, or do I need to grow up and learn to actually code?

The answers I got both told me I need to learn how to use $_GET. I’ve reviewed the basics of it at w3schools.com but still need a lot of help. Here is my dynamic repeating block of code that makes the grid of episodes on my index.php page

<div id="post_container">
    <?php do { ?>
        <div id="post">
            <a href="episode.php" onmouseout="this.style.opacity=1;" onmouseover="this.style.opacity=0.7;">
                <h2>
                    <span class="darkblock"><?php echo $row_Episodes['post_id']; ?> | <?php echo $row_Episodes['ep_title']; ?>
                    </span>
                </h2>
                <img src="ep_artwork/ep_<?php echo $row_Episodes['post_id']; ?>.jpg"  width="260" height="260" />
            </a>
        </div>
    <?php } while ($row_Episodes = mysql_fetch_assoc($Episodes)); ?>
</div>

So basically I have a bunch of big square images that are links to the episode.php page. I have coded the episode.php page to display data dynamically as well:

<div id="summary">
    <div id="artwork">
        <img src="ep_<?php echo $row_Episodes['post_id']; ?>.jpg" width="260" height="260" />
    </div>
    <div id="ep_title">Ep. <?php echo $row_Episodes['post_id']; ?> | <?php echo $row_Episodes['ep_title']; ?>
    </div>
    <p class="episode_date"><?php echo $row_Episodes['ep_date']; ?>
    </p>
    <p><?php echo $row_Episodes['ep_blurb']; ?>
    </p>
</div>
<audio src="ep_media/ep_<?php echo $row_Episodes['post_id']; ?>.m4a" controls="controls">
</audio>

What I lack is the code to glue these two things together. I mean, as it stands now, if you click on any episode, it just takes you to the episode.php page and displays the info of the first episode (cause it’s the first in the database). I need to make it show the info OF THE EPISODE CLICKED. And I guess that involves using $_GET. Could someone show me EXACTLY what code I need to include, and where to include it? Is what I’ve posted here enough? Or do you need to know more info about my MySQL database as well?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T18:56:30+00:00Added an answer on June 13, 2026 at 6:56 pm

    There are many solutions, but the simplest I think would be if in your first page (the grid page or index.php), you make your links as follows:

    <div id="post_container">
        <?php do { ?>
            <div id="post">
                <a href="episode.php?episodeID=<?php echo $row_Episodes['post_id'] ?>" onmouseout="this.style.opacity=1;" onmouseover="this.style.opacity=0.7;">
                    <h2>
                        <span class="darkblock"><?php echo $row_Episodes['post_id']; ?> | <?php echo $row_Episodes['ep_title']; ?>
                        </span>
                    </h2>
                    <img src="ep_artwork/ep_<?php echo $row_Episodes['post_id']; ?>.jpg"  width="260" height="260" />
                </a>
            </div>
        <?php } while ($row_Episodes = mysql_fetch_assoc($Episodes)); ?>
    </div>
    

    Then in your episode.php page, you should read the get variables using

    $_GET['episodeID'];
    

    A suggested code would be:

    $postID = $_GET['episodeID'];
    
    // WRITE CODE TO GET CORRESPONDING TITLE, DATE, BLURP, AND OTHER INFO FROM THE DATABASE FOR THE SUBMITTED POST ID
    // ASSUME THIS TITLE IS SAVED TO $postTitle, $postDate, $postBlurp, ...etc.
    
    <div id="summary">
        <div id="artwork">
            <img src="ep_<?php echo $postID; ?>.jpg" width="260" height="260" />
        </div>
        <div id="ep_title">Ep. <?php echo $$postID; ?> | <?php echo $postTitle; ?>
        </div>
        <p class="episode_date"><?php echo $postTitle; ?>
        </p>
        <p><?php echo $postBlurp; ?>
        </p>
    </div>
    <audio src="ep_media/ep_<?php echo $postID; ?>.m4a" controls="controls">
    </audio>
    

    You have to make your code secure as well. But this is the idea behind it.

    My advise is to learn php and mysql to make life easier.

    Cheers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I asked a question related to this one previously but I need to know
I asked this previously but Jeff Atwood moved my question to superuser.com. I need
I have a problem similar to this question which was previously asked but my
I just asked this question Multiple Where conditions , but realised there was more
Sorry if this is a repeat of a question asked previously, but I have
I previously asked this question under another name but deleted it because I didn't
I know this may looks like a previously asked question but I'm facing a
I previously asked this question on the Facebook forums but apparently they want us
I previously asked this question, which was answered, but someone gave a suggestion that
I know this question was asked previously and the reply was to override onPrepareContextMenu()/onCreateContextMenu().

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.