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 Link to comment https://forums.phpfreaks.com/topic/91751-using-steps/ 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. Link to comment https://forums.phpfreaks.com/topic/91751-using-steps/#findComment-469929 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. Link to comment https://forums.phpfreaks.com/topic/91751-using-steps/#findComment-469931 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. Link to comment https://forums.phpfreaks.com/topic/91751-using-steps/#findComment-469936 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.