OK.. I want to set $output = echo "html"; echo "more html";
how do i do that?
So when i do my function start_html($output); it will display that html i set in $output
thank you ANthony
you don't need the echo to assign a string to a variable:
$output = "html";
would be fine
Hi there
it might help you for your question......
function output( $html) { echo $html; }
$html ="Hello world";
output($html);