Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //error_reporting(E_ERROR | E_PARSE);
- //error_reporting(E_ERROR | E_PARSE);
- ini_set('display_errors', 1);
- $conn = oci_connect('student', 'STUDENT', 'localhost/XE');
- $id_intrebare= $_POST['textfield'];
- $sql = 'SELECT QUESTION FROM QUESTIONS where ID=:id_c';
- $compiled = oci_parse($conn, $sql);
- oci_bind_by_name($compiled, ':id_c', $id_intrebare);
- oci_execute($compiled);
- oci_close($conn);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement