w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Pass PHP variable into html file

change this:

$document->loadHTML
    ('<html>
        <head>
            <title></title>
        </head>
        <body>
            echo  $u;
        </body>
    </html>');

to

$document->loadHTML
    ('<html>
        <head>
            <title></title>
        </head>
        <body>
            '.$u.'
        </body>
    </html>');




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.