csv data export

2006-05-12 Thread Eric Banford
I need to write a csv data export function for use in my admin pages, and was wondering if anyone had tackled this already? I have a simple version working for a single table, the problem come when I try to export a table with belongsTo relationships, some of those which have belongsTo, etc. C

controller\controller.php bug

2006-05-03 Thread Eric Banford
I found a small bug in cake\libs\controller\controller.php. This line: if(0 != strncmp( "created", $tabl['name'], 6 ) && 0 != strncmp("modified",$tabl['name'], 8)) Should be: if(0 != strncmp( "created", $tabl['name'], 7 ) && 0 != strncmp("modified",$ta

Re: php4 losing ID on update

2006-05-02 Thread Eric Banford
MySQL SQL command rather than the PHP mysql_insertid method. So, > maybe that enhancement would apply here? This helped, thanks! Eric > On 4/28/06, *Eric Banford* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > I'm seeing a production issue with

php4 losing ID on update

2006-04-28 Thread Eric Banford
I'm seeing a production issue with PHP4.3.2 where after an update of a record the last insert ID gets lost. I have PHP4.4.1-pl1 on my machine, and it works just fine. My suspicion is it has something to do with the logic branches in cake\libs\model\model_php4.php, but I'm not sure where. Does