如果表单成功,则运行一个函数

时间:2015-11-19 11:28:25

标签: php sql

我在运行代码时遇到问题:

"Factura no encontrada en el lote." OR "Invoice not found in open batch."
  

致命错误:在第138行的/home/myremovalsquote/public_html/wp-content/plugins/myremovalsquote/inc/partners.php中调用非对象的成员函数query()

第138行 = if($ commit = $ wpdb-&gt; query(&#34; INSERT INTO partners_locations(partners_locations_id,partner_id,location_id)VALUES(NULL,&#39; &#34;。$ partner。&#34;&#39;,&#39;&#34;。$ location。&#34;&#39;)&#34;)){ < / p>

1 个答案:

答案 0 :(得分:0)

Load 
  Distinct 
  if( IsNull([Candidate Name]),'[Candidate Name]','[Candidate Name]') as Not_Submitted,
  Spec,
  [Candidate Name]
  //[Closing date] as [Spec_Due_Date] 
  //if((Closing date])!=([CV Send Date]))
Resident 
  ZAK_RECRUTMENT 
Where 
  IsNull([Candidate Name])
//[Closing date] <=Today() and [Candidate Name] = Null()
;

}