slfit Posted June 26, 2015 Share Posted June 26, 2015 hi all, im using jquery mobile to build my web site.but i want to switch it over to php. I've been reading the book and im in chapter 8.Im at the section where it has the include() function but when I break my html files down into sections (i.e.header.html) and do <?php include('header.html'?> that html file shows up but nothing else after the call to header.html shows up on the page. when i remove <?php include('header.html'?> then everything displays as it should,style's and all. Does anyone have a clue?Ive been trying to figure this one out all day. Thanks Link to comment Share on other sites More sharing options...
Larry Posted June 26, 2015 Share Posted June 26, 2015 You probably have a PHP error. I'd make sure display errors is enabled so you can see what it is. Link to comment Share on other sites More sharing options...
slfit Posted June 26, 2015 Author Share Posted June 26, 2015 ok ill try that and get back with you. thanks Link to comment Share on other sites More sharing options...
Necuima Posted June 26, 2015 Share Posted June 26, 2015 It looks like the closing bracket is missing in your include statement. Cheers Link to comment Share on other sites More sharing options...
Recommended Posts