i'm completely new to php, but have to use it for a uni project. i've got a few questions about the site i'm making for my dad's business using dreamweaver. the site is www.domesticelectrical.net, and as you can see when it first loads up there's nothing in the content frame, i want the "information" page to load up there at the very start but dont know how to do that.
and i'm also trying to get a login script working, i've been using what i think is a pretty good tutorial here but i'm having a problem with the initial loading of the page. if you click the login button you will see what i mean.
Warning: session_start(): Cannot send session cookie - headers already sent... etc
i read another post on the forum with someone having the same kind of problem, but couldnt figure out what i needed to change (dont like programming, find it hard to grasp) i did add thefollowing bit of php as suggested in an earlier thread but it didnt seem to work.
i was thinking that it's trying to check the login before the session was started...but i'm not sure.
any help on the matter would be great. i'm using code from the tutorial website, but if you need to see any other code jsut ask what you need and i will post it here.
and i'm also trying to get a login script working, i've been using what i think is a pretty good tutorial here but i'm having a problem with the initial loading of the page. if you click the login button you will see what i mean.
Warning: session_start(): Cannot send session cookie - headers already sent... etc
i read another post on the forum with someone having the same kind of problem, but couldnt figure out what i needed to change (dont like programming, find it hard to grasp) i did add thefollowing bit of php as suggested in an earlier thread but it didnt seem to work.
Code:
<?php
ob_start( 'ob_gzhandler' );
?>
any help on the matter would be great. i'm using code from the tutorial website, but if you need to see any other code jsut ask what you need and i will post it here.