Fishcannon Posted October 26, 2016 Share Posted October 26, 2016 (edited) OK guys I need some urgent help! this needs to be done asap and i am getting very stressed out about not completing this in time (need s to be done by like end of today 26-10-16). I had to creat a layout diagram, and the create a layout in PHP that matchs the diagram (see attachment). I can not for the life of me remember any of this stuff and am struggling to find the videos i used to help me... i need some urgent help to get it done... I had to make a text adventure and they gave us this layout to use for it... <?php function renderLayout($areas) { ?> <html> <head> <link href="[url=http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css]http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css[/url]" rel="stylesheet"> <link href="[url=http://maxcdn.bootstrapcdn.com/font-awesome/4.6.2/css/font-awesome.min.css]http://maxcdn.bootstrapcdn.com/font-awesome/4.6.2/css/font-awesome.min.css[/url]" rel="stylesheet"> </head> <body> <nav class="navbar navbar-inverse navbar-static-top"> <div class="container"> <div class="navbar-header"> <a class="navbar-brand" href="#"><i class="fa fa-bug"></i> Fire-bug</a> </div> </div> </nav> <div class="container target"> <div class="row"> <div class="col-sm-3"> </div> <div class="col-sm-6" contenteditable="false" style=""> <?=$areas['content']?> </div> <div class="col-sm-3"> </div> </div> </div> </body> </html> <?php } ?> Is this all i need to do for it or do i need other things onto it?? Help would be greatly appreciated!!! Edited October 27, 2016 by gizmola Quote Link to comment https://forums.phpfreaks.com/topic/302409-php-layout/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.