Hi there,
I am stuck with this part of a class, well I am now trying it as a regular function
function box_content($get_page) {
ob_start();
include('form.php');
$html_content = ob_get_contents();
ob_end_clean();
return $html_content;
}
The thing is my form.php has a hidden value and based on it's value it will display a message. is it true that ob_get_contents() parse the file and you just have the html-code.
When I just use
ob_start();
include('form.php');
$html_content = ob_get_contents();
ob_end_clean();
my hidden value is being checked and the messages are displayed.
Any tips