note 16608 rejected from faq.html by jimw

From: Date: Tue, 06 Nov 2001 21:59:37 +0000
Subject: note 16608 rejected from faq.html by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20525@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?

« previous php.notes (#20525) next »