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

Moderator: amosbatto

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;

Note - we are going to be migrating all PM 4 open […]

Hello Everyone, I have a problem in fetching the d[…]

No puedo acceder al diseñador por https.

Tengo el mismo problema. ¿Ha habido alguna[…]

I am trying to add custom font "Ubuntu-Medium[…]