Basic variable-parameter issue
Posted: Sun Aug 05, 2007 11:04 pm
feyd | Please use
When I click on the link it doesn't send me to the new page, it reloads the same one with different parameters. Can someone please help 
I'm running this in WAMP if that helps
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi, I am a new programmer and having some issues with my PHP website. I am a gigantic nooby so please have pity on me.Code: Select all
<?php
include ('db_config.php');
include ('header.php');
echo "<p>YEA</p>";
echo "<a href=/eclipse_projects/?page=about>About</a><br>";
include ('footer.php');
if ($page == 'about')
{
include ('header.php');
echo "<p>We're the <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span>!</p>";
echo "<a href=/eclipse_projects/?page=home>Home</a>";
include ('footer.php');
}
?>I'm running this in WAMP if that helps
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]