Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/question/public_html/index.php:1) in /home/question/public_html/index.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/question/public_html/index.php:1) in /home/question/public_html/index.php on line 2
Questionville.com - Technology - Software - How do I autoindent the PHP code with Dreamweaver

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/question/public_html/scripts.php on line 1574

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/question/public_html/scripts.php on line 1574

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/question/public_html/scripts.php on line 1574

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/question/public_html/scripts.php on line 1574

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/question/public_html/scripts.php on line 1574

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/question/public_html/scripts.php on line 1574

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/question/public_html/scripts.php on line 1574

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/question/public_html/scripts.php on line 1574

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /home/question/public_html/scripts.php on line 1574
Top Answers


Please try not to post duplicate answers... if you see an answer that you want to post, just add a vote to it and you can add a note as well. Thank You
1

1
It's Easy.
Submitted By: nathanmock ( 50 days, 16 hours, 23 minutes ago )
All you have to do is highlight the code you want to indent. With the code highlighted, press the tab key, and it should indent all your code that you have highlighted.
Submitted By: renwoshin
but that means I have to keep track of how much a code SHOULD be indented. I'm talking about like Emacs auto
1

0
This should help
Submitted By: Brandn487 ( 50 days, 16 hours, 2 minutes ago )
If you are using Macromedia Dreamweaver MX 2004 then you can go to the Commands menu and click "apply source formatting" or "apply source formatting to selection" and it will do it automatically.
0

1
'Tab Key'
Submitted By: martin ( 50 days, 16 hours, 26 minutes ago )
Use the tab key, normally above the Caps Lock button
Submitted By: renwoshin
i'm looking for AUTOindent, not MANUAL indent.
0

0
Its not PHP
Submitted By: piznut ( 50 days, 15 hours, 56 minutes ago )
It's not PHP that lacks auto
0

1
Not Sure it's in the Menu but....
Submitted By: imbrokn ( 50 days, 15 hours, 54 minutes ago )
View
Submitted By: imbrokn
Not sure how to edit my Answer, this should be View and then "Code View Options" and then "Auto Indent". I think that is what you want.