Hi all


I am using propel 1.3 . When I try to insert data  using propel I got the
following error .These table has the relationships (
employee.empid=user.empid)


*Error*
**

object(PropelPDO)#132 (1) { ["nestedTransactionCount:protected"]=> int(0) }
*Warning*: Cannot modify header information - headers already sent by
(output started at
D:\xampp\htdocs\login\libs\agavi\src\database\AgaviDatabase.class.php:94) in



*My code*

$employee = *new* Employee();

           $employee->setEmpname(*'Joshs'*);



           $user= *new* User();

           $user->setUsername(*'1234'*);

           $user->setEmployee($employee);

           $user->save();



How can I fix it.



Thx and regards

surej
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to