note 16608 added to faq.html
| From: | guidance at tenthworld dot com | Date: | Tue, 06 Nov 2001 10:03:29 +0000 |
| Subject: | note 16608 added to faq.html | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-20511@lists.php.net to get a copy of this message | ||
Well, I have found several places stating how to get HTML or Javascript variables to PHP, but where
can I ever find anything the reversed direction. Yes I read about the Forms but my problem is, I try
to use a JavaScript-function:setcontent(contentname)
in which a document should be loaded according to the contentname defined:
document.all('reader').innerHTML= '<? readfile($contentname. '.html');
?> ';
normally I would think that while the PHP-function is executed, it will send the text from the file
to standard output, but it keeps telling me that it can not find $contentname nor contentname.
Anyone?
--
http://www.php.net/manual/en/faq.html.php
http://master.php.net/manage/user-notes.php?action=edit+16608
http://master.php.net/manage/user-notes.php?action=delete+16608
http://master.php.net/manage/user-notes.php?action=reject+16608