Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1540 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

PHP Include

Thread title: PHP Include
Closed Thread    
    Thread tools Search this thread Display Modes  
02-11-2007, 04:00 PM
#1
GoldtoShine is offline GoldtoShine
Status: I love this place
Join date: Oct 2006
Location:
Expertise:
Software:
 
Posts: 571
iTrader: 2 / 100%
 

GoldtoShine is on a distinguished road

Send a message via MSN to GoldtoShine

  Old  PHP Include

http://img216.imageshack.us/img216/7703/144eq6.jpg
I need to find a way to get to work, for organizing purpose

Okay, so salathe pointed me to a code before, but it never worked.

Some of my questions are.

Whats the code for article.php?

Whats the code on the page that article.php is requiring (im a n00b at php)

How would my index.php code be?

Just some noobie questions, i'm trying to understand

02-11-2007, 04:15 PM
#2
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

article.php is just a regular PHP page which displays data (from a database usually) based on values passed in through the query string (article name, page number, etc). Just because you're accessing it through "friendly" urls doesn't make it any different.

If you're very new to PHP then it might be useful to work your way through articles like:

02-11-2007, 04:17 PM
#3
GoldtoShine is offline GoldtoShine
Status: I love this place
Join date: Oct 2006
Location:
Expertise:
Software:
 
Posts: 571
iTrader: 2 / 100%
 

GoldtoShine is on a distinguished road

Send a message via MSN to GoldtoShine

  Old

Originally Posted by Salathe View Post
article.php is just a regular PHP page which displays data (from a database usually) based on values passed in through the query string (article name, page number, etc). Just because you're accessing it through "friendly" urls doesn't make it any different.

If you're very new to PHP then it might be useful to work your way through articles like:

Thanks for the help,

But i need someone to pinpoint me to a code or help me out with the code.

02-11-2007, 04:22 PM
#4
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

Read those articles and it will give you a huge chunk of the code you're looking for. The mod_rewrite is just a five-minute step at the end to make things look pretty.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed