Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Apr 2004
    Thanked 0 Times in 0 Posts

    Question sorry cant think of a title :S

    Ok i have a problem with php , well no so much a problem but something that needs fixing

    I want to have a index.php page, from this page i want to link to other pages usign one other file called module.php....

    from index.php i want to link to other pages with something like


    from the module file i can link the REQUEST or the GET variable which ever one i dont know, to one other paticular file depending on what the site variable is set as in the link !!

    Am i making sense??

    here comes my problem, say i wanted the module.php file how would i get the nav bar at the top to coem up every time, can i make it work like frames withotu frames?? Do you understand me?
    Last edited by aspdude2004; 05-16-2004 at 12:42 PM. Reason: Dont ask !
    ...not bad for a thirteen year old

  2. #2
    Regular Coder
    Join Date
    Mar 2004
    Thanked 1 Time in 1 Post
    PHP Code:
    $site '.php'); 
    This is a basic example of what u may be after. include this were u want the page to be shown and main.php is the default page i.e news. You can link to as you have shown above ... index.php?site=lah. can alsop echo $site to return a value

    im sure their are other ways of doing it and would like to hear of some.
    Last edited by Serex; 05-16-2004 at 05:32 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts