Page 1 of 1

mystery directives (#)

Posted: Fri Jan 03, 2003 1:34 pm
by permutations
I'm looking at some PHP code for MySQL generated by DreamWeaver and I don't understand three lines at the top of the database connection file:

Code: Select all

# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
These don't look like comments. What does the pound sign mean? What do these lines do?

Posted: Fri Jan 03, 2003 2:44 pm
by Rob the R
These are indeed comments. PHP will ignore them (so you can delete them and PHP will not be affected), but Dreamweaver probably uses this meta-data when the PHP file loaded back into Dreamweaver.