How does php connect to orcle? is there any relevant information? if I have tried to connect mysql to sqlserver, I have not tried orcle. if there are any relevant cases or materials, I can provide ------ solution ---------------- there are cases. See the php Manual. Several common ones: oci_connectoci_parseoci_executeoci_fetch_arrayoci_num_fie php how to connect to orcle. Is there any information available?
I have tried to connect mysql to sqlserver
It means you have never tried orcle, and have any relevant cases or materials to provide.
------ Solution --------------------
There are cases. See the php Manual.
Several common ones:
Oci_connect
Oci_parse
Oci_execute
Oci_fetch_array
Oci_num_fields
Oci_num_rows
------ Solution --------------------
The PDO object can be used for connection. PDO is common to all databases.
------ Solution --------------------
Best official documentation
Http://cn.php.net/manual/en/book.oci8.php