Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
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.
#827420
Hi,
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;

Hello. For rental housing, there are software solu[…]

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]