
January 2nd, 2013, 10:16 AM
|
 |
JavaScript is not spelt java
|
|
Join Date: Feb 2011
Location: Landan, England
|
|
|
document.write() should no longer be used as it is possible for a script or command to be embedded in it, which will be interpreted by the browser.
Instead, wait for the page to finish loading, and use code such as the following:
document.getElementById('someid').innerHTML = "Some text";
__________________
"The mysql extension is deprecated as of PHP 5.5.0, and is not recommended for writing new code as it will be removed in the future. Instead, either the mysqli or PDO_MySQL extension should be used." the docs
|