Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

what could the issue be if a edit function creates a new record existing record instead of updating it?

Thanks
Posted
Updated 1-Feb-12 20:49pm
v2
Comments
Sridhar Patnayak 2-Feb-12 2:48am    
Where it is? please provide your sample code
nathan666 2-Feb-12 2:50am    
public function editDeskdropItem($deskdropId = null){
$app = Wow_Application::getInstance();
$deskdropId = Wow_Utility::getGPValue('deskdropId');
$deskdrop = new Wow_Deskdrop_Model;
$deskdrop->load($deskdropId);
$html = Wow_Deskdrop_View_Admin::listMenu();
$html .= Wow_Deskdrop_View_Admin::deskDropForm($deskdrop);
$app->document->addHtmlToId('content', $html);
}

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900