Jump to content

Using STEPs


smithmr8

Recommended Posts

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

<?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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.