|
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
quote:
Originally posted by AllenAyres: if you are using them in code such as php, single quotes won't throw errors and you don't have to escapte them as with double-quotes
I would still use double over single quotes. Consider the following example: code: [qb]<?php echo '<img src="this.gif" alt="something" /> '; echo "<a href="#" onclick="return confirm('Are you sure?\nThis action can\'t be undone!');">delete</a>"; ?> [/qb]
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|