|There are numerous PHP functions are available @php.net pertained to web-reporting or querying oracle db over the internet . Few key categories are mentioned below.|
// connecting to db/Scott's account
$conn = oci_connect('scott', 'pwd', 'localhost/orcl.gateway.2wire.net');
//parsing and executing a statement
//freeing result set and closing db
The htmlentities() function prevents any user data or operations like '<' to be interpreted as an HTML tag. In many cases you will want to use this function's optional ENT_QUOTES parameter. You should also use the optional character set parameter, specifying a value that matches the character set of your document.