Ive been at this for too long with no success ... hence the messy code ...
Im trying to add a comment to the item with "ref_id" produced from the below code of an item creation:
return $item; <<------ Products my ref_id
my code for adding:
$comment = new PodioComment('item',$refid,array('value'=> $emailFrom.' wrote on '.$vbdate.':'.ltrim($comment,400)));
Im definitely doing something wrong..this is the last part of my code i cant get right..
Please sign in to leave a comment.