Topic awaiting preservation: PHP includes... (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
posted 09-25-2001 00:36
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 |
posted 09-25-2001 01:22
yeah it's generally |
Nervous Wreck (II) Inmate From: |
posted 09-25-2001 02:41
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 |
posted 09-25-2001 07:25
okay usually things go into the query string via a form using the get method. |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 09-25-2001 20:38
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 |
posted 02-22-2002 17:42
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 |
posted 02-22-2002 18:04 |
Bipolar (III) Inmate From: KY |
posted 02-22-2002 18:09
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 |
posted 02-26-2002 11:40
quote:
|
Maniac (V) Inmate From: under the bed |
posted 02-26-2002 17:56
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? |