Welcome Guest, Not a member yet? Register   Sign In
DataMapper saving multi-field join table
#3

[eluser]msteudel[/eluser]
I realized that I'm probably suposed to do it more like this:

Code:
// no id in name and pass in objects probably
$var = array(
            'site' => $site,
            'location' => $loc,
            'type' => $type,
            'created_on' => date( "Y-m-d H:i:s" ),
            'updated_on' => date( "Y-m-d H:i:s" ) );

But I get

Quote:Unable to relate scenario with location.


Messages In This Thread
DataMapper saving multi-field join table - by El Forum - 02-01-2013, 04:27 PM
DataMapper saving multi-field join table - by El Forum - 02-01-2013, 04:42 PM
DataMapper saving multi-field join table - by El Forum - 02-01-2013, 04:52 PM
DataMapper saving multi-field join table - by El Forum - 02-03-2013, 02:45 PM
DataMapper saving multi-field join table - by El Forum - 02-03-2013, 09:43 PM



Theme © iAndrew 2016 - Forum software by © MyBB