$_GET problem. Please help?
Posted: Wed Mar 25, 2009 9:53 pm
Having problem with the following. Help would be amazing:
Code: Select all
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<?php
$uct = 'Hello, welcome to the home page';
$services = 'Our services include the following';
$portfolio = 'portfolio is the following';
$resources = 'resources are Here!';
$about = 'This is what we about.';
$contact = 'check it if u wanna contact';
?>
<?php
echo '<a href="index.php?uct=home">Index | </a>';
echo '<a href="index.php?uct=services">Services | </a>';
echo '<a href="index.php?uct=portfolio">Portfolio | </a>';
echo '<a href="index.php?uct=resources">Resources | </a>';
echo '<a href="index.php?uct=about">About | </a>';
echo "<a href='index.php?uct=contact'>Contact | </a>";
?>
<?php
echo $_GET['.uct.'];
?>
</body>
</html>