View Single Post
  #1 (permalink)  
Old 03-31-04, 01:15 PM
tehnoobe tehnoobe is offline
New Member
 
Join Date: Mar 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
dynamic php page.

Hello,

I am working on making a page dynamic.

i have a list of services on the left corner of the page and i want to load a details of the service on the right side. the page should reload on click of a link and no frames are being used.

I thought of using server side includes based on a variable passed by the url. so far i have been unsucess full due to my limited knowladge of php syntax.

Code:
http://www.domain.com/scanning2.php?service=one[/url] <- variable passed by url.

<?php $_GET[serivce]; ?> <-picking the variable
<?php if $service == 'one ?> <-checking the value? 
<?php include(one.htm); ?> <-loading the include?
how to i make this work.
Reply With Quote