Thanks Mac,
I made a mistake in describing the problem:
news_display.php does NOT contain includes ...
In fact its a php-file containing a frameset which passes thru the $ to the 3 different php-files.
But it don't think that's the problem anymore.
The variable get's passed well to the footer, because the 2 buttons appear.
In news_display_footer.php, I've got following code:
Code: Select all
<?php
if (isset($_GETї'news_id'])) {
?>
<form method="GET" action="news_download.php">
<input type="hidden" name="news_id" value="<?php echo $_GETї'news_id'] ?>">
<td align="right" width="50%"><input type="submit" name="submit" value="Download"></td>
</form>
</tr>
<?php
}
?>
So if the variable wasn't set it wouldn't display the "Download"-button, right ?
But one thing it doesn't is function...
So something is still going wrong somewhere ...
the news_display_header.php doens't show anything and it uses the same $
When using your test-method in news_display_header.php
Code: Select all
// Check if the variable news_id is set
if (isset($_GETї'news_id'])) {
echo '$_GETї''news_id''] = '.$_GETї'news_id'];
it displays:
$_GET['news_id'] =
Do I see this correctly that the $ is passed but not the value of the $ ?
I'm completely in the mist now ... it starts raining cats and dogs in Belgium
Gijs