| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2009-05-29 07:02 UTC] jengert at gmail dot com
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 08:00:01 2025 UTC | 
Description: ------------ my table looks like this CREATE TABLE `volunteer` ( `volunteer_id` integer PRIMARY KEY, `origin_id` int(10) NOT NULL, `name` varchar(200) NOT NULL, UNIQUE (`name`) ); Works via command line, not through apache (with and w/o entropy) Reproduce code: --------------- $db = new PDO('sqlite:mealdata.sqlite'); $querystring = "INSERT INTO `volunteer` (`origin_id` , `name`) VALUES (3, 'my name')"; $query = $db->exec($querystring); echo $query; Expected result: ---------------- 1 Actual result: -------------- 0