#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Posts
    10
    Rep Power
    0
    hy all,
    I NEED HELP
    i'm novice in this superb PHP engine. So i will have a page that have footer & header. Body of pages wil be different depend of user choices.
    If he click on link "News" then he will get page that is in MySQL. like (news.php?art01.php)
    Its possible that i put pahes in MySQL and then users grabb them from database and page are shown in body of page.
    Admin wil have options to add,delete,modify pages in MySQL.
    Anyone with some help? or any tutorial about this primer?

    tnx for time
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15
    yea,
    i think it should be some thing like..
    http://www.yourdomain.com/news.php3?header=article..


    in your php you should get pull the value based on the above passed argument..
    eg;

    <?
    if($header=="article"){
    //now connect the database and pass the above value to the query.

    $query="select * from tablename where news='article';

    ///then print the records here..

    }else{
    //some other header..
    }

    ?>

    i don't wether you are looking for something like above code..




    ------------------
    SR -
    webshiju.com
    www.jobxyz.com-IT Career Portal
    ezipindia.com--WebStudio


    "The fear of the LORD is the beginning of knowledge..."

Similar Threads

  1. Find out your web page's path
    By Dr. Possible in forum ASP Programming
    Replies: 25
    Last Post: July 27th, 2004, 09:14 AM
  2. combing three pages into one
    By thindery in forum PHP Development
    Replies: 1
    Last Post: February 14th, 2004, 06:07 PM
  3. how to speed up local apache/php in processing pages?
    By mickeyren in forum Apache Development
    Replies: 0
    Last Post: January 20th, 2004, 12:11 AM
  4. Editable web pages
    By Anjana in forum HTML Programming
    Replies: 1
    Last Post: August 19th, 2003, 06:17 AM
  5. Text accessibility feature for pages loading in iframe
    By epeabody in forum HTML Programming
    Replies: 2
    Last Post: August 13th, 2003, 12:38 PM

IMN logo majestic logo threadwatch logo seochat tools logo