For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > August 2004 > dataobject : problem with insert function









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author dataobject : problem with insert function
Mike

2004-08-23, 3:56 am

Hi,

I would like redefine insert function because I need to set the key value.
But Dataobject ignore the value that I give it.
Here's the function :

function insert(){

DB_DataObject::DebugLevel(1);

$this->rubcode=81;


parent::insert();


}



Normally, I should have 81 for the insert value, really, I have the value 9,
dataobject does not take into account my value. What have I to do?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com