linking to a table...
| From: | James Conaway | Date: | Tue, 07 Nov 2000 18:25:59 +0000 |
| Subject: | linking to a table... | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4285@lists.php.net to get a copy of this message | ||
I am attempting to link a table into a template using the following syntax:
http://www.mydomain/template.php?id=1
(Template file)
<table> <tr colspan="2">
<td><?php include("header.php"); ?></td>
</tr>
<tr>
<td width="25%"><?php include("menu.php"); ?></td>
<td width="75%"><?php include("$id.php"); ?></td>
</tr>
<tr colspan="2">
<td><?php include("footer.php"); ?></td>
</tr>
</table>
I can only get it to work on my test system at home. (NT4.0/Apache)
When I try it on my home system, it works fine. It pulls into the template a
file called "1.php".
When I try it on on my webpipe site it comes back with a "Page cannot be
displayed error"
"Cannot find server or DNS error".
What do you think?
Apparently my webpipe site doesnt like something about the template file. I
can run the template file without the variable extention (template.php) on
my test box and it works. But when I try on the ISP it still gives me the
error. Something about the $id it doesnt like.
Any ideas?