Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 293
  • Last Modified:

documentation

Hi,

How do I do documenation and adding comments in html, php, and javascript? Does dreamweaver have a function that speeds this up?

iobob

0
weikelbob
Asked:
weikelbob
  • 2
2 Solutions
 
rdivilbissCommented:
HTML Comments:

<!-- inline comment -->

<!--
block comment
-->


JavaScript and PHP Comments

// inline comment

/*

block comment

*/

Since the opening and closing of most comments is two characters, even invoking a command with <Alt><Ket> is two characters.  (okay 3 & 4 in HTML, but still)  What is there to speed up?

0
 
weikelbobAuthor Commented:
What about PHP?
0
 
rdivilbissCommented:
JavaScript and PHP Comments

// inline comment

/*

block comment

*/
0
 
matt_mcswainCommented:
In php you can use  C and C++ style comments and rdivilbiss displayed, as well as shell script comments using # like:

#this is a comment

For documentation of your projects, look at phpdocumentor-->http://www.phpdoc.org/index.php
It will document your project for you.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now