• 0
Sign in to follow this  

PHP x Oracle


alguém podia me passar um exemplo orientado a objetos de PHP com o oracle. Levando em consideração as melhores pratica de programação.

Desde já obrigado pela ajuda


Equipe ps vita jogos

Share this post

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Não conheço nenhum módulo do Oracle pro PHP orientado a objetos, somente o oci8 mesmo.

$conn = oci_connect('hr', 'welcome', 'localhost/XE');

// Parse the statement. Note there is no final semi-colon in the SQL statement
$stid = oci_parse($conn, 'SELECT * FROM employees');

(Retirado da documentação do PHP)

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this