smithmr8 Posted February 18, 2008 Share Posted February 18, 2008 Hi, I am using steps, like the one shown below. <?php include('header.php') ?> <b>The Country Club</b><br><br> <a href="thecountryclub.php?step=darts">El Darto Biro</a><br> <?php if($_GET['step'] == 'darts'){ echo "<b>El Darto Biro</b><br>" } ?> <?php include('footer.php') ?> I would like to be able to show the result of each step without the rest of the page showing. E.g. Wanted El Darto Biro Not Wanted The Country Club El Darto Biro Thanks Quote Link to comment Share on other sites More sharing options...
PHP Monkeh Posted February 18, 2008 Share Posted February 18, 2008 <?php include('header.php'); if($_GET['step'] == 'darts'){ echo "<b>El Darto Biro</b><br>" } else { ?> <b>The Country Club</b><br><br> <a href="thecountryclub.php?step=darts">El Darto Biro</a><br> <?php } include('footer.php'); ?> Like that? Was quite hard to figured out what you wanted. Quote Link to comment Share on other sites More sharing options...
smithmr8 Posted February 18, 2008 Author Share Posted February 18, 2008 Oh, I'll try that. One Sec. Quote Link to comment Share on other sites More sharing options...
smithmr8 Posted February 18, 2008 Author Share Posted February 18, 2008 It works! . Thanks alot. I never would of thought of just doing that. Cheers. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.