php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51540 insert data
Submitted: 2010-04-12 11:12 UTC Modified: 2010-04-16 22:22 UTC
From: houssam dot asaad at hiast dot edu dot sy Assigned: sixd (profile)
Status: Not a bug Package: OCI8 related
PHP Version: 5.2.13 OS: win2003 server
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: houssam dot asaad at hiast dot edu dot sy
New email:
PHP Version: OS:

 

 [2010-04-12 11:12 UTC] houssam dot asaad at hiast dot edu dot sy
Description:
------------
i use oci to insert data, but result is nothing

Test script:
---------------
$conn = oci_connect('username', 'password', 'HOST_IP/orcl', 'AR8MSWIN1256');
$query = 'INSERT INTO STUDENTS (IDNO, START_DATE) VALUES (:idno_v, :startDate_v)';

$stid = oci_parse($conn, $query);
$idno = 999;
$startDate = date("d-M-y");
oci_bind_by_name($stid, ':idno_v', $idno);
oci_bind_by_name($stid, ':startDate_v', $startDate);
oci_execute($stid);

Expected result:
----------------
show data in STUDENTS table

Actual result:
--------------
no data inserted

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-16 22:22 UTC] sixd@php.net
-Status: Open +Status: Bogus -Assigned To: +Assigned To: sixd
 [2010-04-16 22:22 UTC] sixd@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

I believe you also asked this question on 
http://forums.oracle.com/forums/message.jspa?messageID=4218368
Please ask further questions using that forum.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 19:01:31 2024 UTC