![]() Topic awaiting preservation: PHP includes... (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
![]() hello, im new around here, and im strating in PHP. FOr my site, i need to know how to do a file include within a table cell or something of the sort, mainly for ease of updating. i THINK it's something like the following, but im not sure . . . code: <?php
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() yeah it's generally |
Nervous Wreck (II) Inmate From: |
![]() hmm, im not quite sure i understand, is there a way you could show me the source to the way with the name & value pair. sorry, im new to this. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() okay usually things go into the query string via a form using the get method. |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
![]() Are you just including files that contain HTML code to go in the table cell? If there isn't code in tht included file than the readfile() function is more appropriate. |
Bipolar (III) Inmate From: KY |
![]() I"m trying to get the include function in PHP to work but it's not working inside an HTML document. It looks like this |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Bipolar (III) Inmate From: KY |
![]() When you saw the file do you mean the file that the code is actually in? NO, it's an html file. Would that be the problem. |
Paranoid (IV) Inmate From: Lebanon |
![]() quote:
|
Maniac (V) Inmate From: under the bed |
![]() Just to make sure - you have the path specified as a file on your loceal computer, so I assume you are trying to test this on your local computer. Do you have server software and PHP running on your computer? |