Template

DataTabSheet: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<tab name="I AM" title="{{{1}}}">
{{#get_db_data:
{{#get_db_data:
  db= vanisearch
  db= vanisearch
  |from= tran,trpr
  |from= tran,trpr
  |where= tran.tran_id=trpr.tran_id and prop_id = {{{2}}}
  |where= tran.tran_id=trpr.tran_id and prop_id = {{{1}}}
  |data= id=tran.tran_id,text=tran_text
  |data= id=tran.tran_id,text=tran_text
}}
}}
Line 14: Line 13:
}}
}}
|}
|}
</tab>

Revision as of 13:55, 13 February 2023

The query SELECT tran.tran_id,tran_text FROM `tran`,`trpr` WHERE tran.tran_id=trpr.tran_id and prop_id = {{{1}}} is invalid (Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Template:1}' at line 1 Function: EDConnectorRdbms::fetch Query: SELECT tran.tran_id,tran_text FROM `tran`,`trpr` WHERE tran.tran_id=trpr.tran_id and prop_id = {{{1}}} ).

Id Text