mystery directives (#)

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
permutations
Forum Commoner
Posts: 52
Joined: Sat Dec 07, 2002 11:45 am

mystery directives (#)

Post 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?
Rob the R
Forum Contributor
Posts: 128
Joined: Wed Nov 06, 2002 2:25 pm
Location: Houston

Post 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.
Post Reply