Thread: PHP Help
View Single Post
11-21-2005, 10:35 PM
#9
jared is offline jared
jared's Avatar
Status: Member
Join date: Sep 2005
Location: Victoria, TX
Expertise:
Software:
 
Posts: 172
iTrader: 0 / 0%
 

jared is on a distinguished road

Send a message via AIM to jared Send a message via Skype™ to jared

  Old

Blaze

Try this

At the top of your document

PHP Code:
<?
If(!empty($_GET[section]))
        
$section $_GET[section]; 
?>
Now where you want the cars.php to be displayed put
PHP Code:
<? include($section ".php"); ?>
Now just make sure your link is
Code:
<a href="main.php?section=car">Your Link Here</a>
Also above is assuming that the page you are using is main.php

if you have any more trouble post your code