A
Anonymous
Guest
Hi coderz,
i need to print some php variables in html (retrieved as POST vars after submitted by a form). i have read in many sites that its not possible...
is this true?
i understand one technique that works.. is this the only solution to displayin php variables in html code?
the technique is printing the html code using the print <<< function ->
Is this technique advisable? with regard to performance, especially if the content to be printed (using print<<< is very large)
If there are any other ways to embed php variables in html please tell me of them..
thanks.
Fazbob
i need to print some php variables in html (retrieved as POST vars after submitted by a form). i have read in many sites that its not possible...
is this true?
i understand one technique that works.. is this the only solution to displayin php variables in html code?
the technique is printing the html code using the print <<< function ->
Code:
//initial html tags
<?PHP
print <<<TOEND
... some html code ... if any that needs to display php variables...
TOEND;
?>
//remaining html tags
Is this technique advisable? with regard to performance, especially if the content to be printed (using print<<< is very large)
If there are any other ways to embed php variables in html please tell me of them..
thanks.
Fazbob