Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nikhil on Sep 25, 2009 04:33
open dhtmlx forum
In TreeGid, using php new connector 0.95 version not updating the child node

In TreeGid, using php new connector 0.95 version not updating the child nod. I have used same example which is in the sample code.
Please fix it ... let me know --

here is the log ---

====================================
Log started, 25/09/2009 10:09:22
====================================

DataProcessor object initialized
1001_gr_id => 1001
1001_gr_pid => 1000
1001_c0 => Version 1.1
1001_c1 => 34
1001_c2 => 4
1001_!nativeeditor_status => updated
ids => 1001

Row data [1001]
taskId => 1001
parentId => 1000
taskName => Version 1.1
duration => 34
complete => 4
!nativeeditor_status => updated

UPDATE tasks SET taskName='Version 1.1',duration='34',complete='4' WHERE taskId='1001' AND (parentId = '0')

Edit operation finished
0 => action:updated; sid:1001; tid:1001;

Done in 0.0074300765991211s


I think the error is in the sql query i.e. AND (parenId='0') , it's coming for all records which is incorret.

Thanks,
-Nikhil
Answer posted by Stanislav (support) on Oct 05, 2009 04:25
Problem was confirmed and fixed. 
Please updated existing php files with attached ones.
Attachments (1)