session_start()
should be the first line of web page.Dreamweaver's php templates should be used inside the HTML tag (so, obviously this is not the first line).
What to do?
views:
25answers:
1+1 haha...............
alex
2010-04-06 23:35:58
aptana/eclipse/netbeans... i bet there are a lot of discussions here about PHP IDEs (http://stackoverflow.com/search?q=php+ide)
zerkms
2010-04-06 23:48:45
it's your wish, but by selecting weird tool be ready to get weird behavior, as you already got ;-)
zerkms
2010-04-07 00:01:26
web templates == wysiwyg for generating unsupportable and invalid html markup with just mouse? nope. aptana is the tool for **developers**, not for people who know nothing and don't want to learn.
zerkms
2010-04-07 00:09:10
Dreamweaver is good if you use it only as a text editor and FTP tool.
Lotus Notes
2010-04-07 00:57:41
@serhio: nope. for first time include will be enough cool for you. later you will know how **developers** solve such problems.
zerkms
2010-04-07 14:45:46
@serhio: so don't be so ironic by asking "You mean that "developers" should manually copy paste the same code". you know that it false, do you? the selected IDE doesn't specify the how you should do your work - it just makes your work simpler and faster.
zerkms
2010-04-08 23:07:57