KenCasser
7 years agoQrew Cadet
Syntax Question on API_AddRecord
In doing an API_AddRecord, I can get this to work:
"<field fid='18'>Hi!</field>";
and field 18 in the new record will contain the phrase "Hi!".
But how do I put the result from an equation (such as xyz=2+2) into field 18? I've tried
"<field fid='18'>$xyz</field>";
$(xyz) and a jillion others, but can't crack the code.
Thank you!
"<field fid='18'>Hi!</field>";
and field 18 in the new record will contain the phrase "Hi!".
But how do I put the result from an equation (such as xyz=2+2) into field 18? I've tried
"<field fid='18'>$xyz</field>";
$(xyz) and a jillion others, but can't crack the code.
Thank you!