Jump to content

didier101

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

didier101's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Yeah, put it on your index.php page. So if you want to write an anchor, pointing towards contact.php, you would say index.php?dpage=6 - Then 6 points to contact.php on you index's switch condition.
  2. The var in you string would be fetched by $_GET [code]<?php switch ($_GET['dpage']) {   case 1: header('Location: about_us.php'); break;   case 2: header('Location: contact_us.php'); break;   default: header('Location: index.php'); }[/code]
×
×
  • 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.