Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.

Moderators: ArturoRobles, ArturoRobles

Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
Some times the executeQuery function is not working. To over come the issue i have gone through the processmaker source code. below code works well
Code: Select all
$cnn = Propel::getConnection(SYS_SYS);  // SYS_SYS - will take the current database name
$stmt = $cnn->createStatement();

$date = date("Y-m-d h:i:s");
$query = "UPDATE PMT_BOOK SET NAME = '".$name."',TITLE = '".$title."',AUTHOR = '".$author."',BARROW = '".$barrow."', RETURNED = '".$return."'  WHERE ID = 1";        
$result = $stmt->executeQuery($query, ResultSet::FETCHMODE_ASSOC);

// echo '<pre>';print_r($result);die;
disable value in dropdown

Check box is more helpful rather than drop down op[…]

Timeout Not Sending Email

I would like to thank you for the efforts you have[…]

use 'insert into' in a trigger

Is your syntax correct? Shouldn't you be using s[…]

issue with processmaker 3.2

You mean the code in the trigger below? That is t[…]