I'm testing actinic locally (with php, mysql, perl and so on), it work fine. I get to send to mysql some variables. I added in receipt page:
In top page:
<form method="post" target="_blank" action="http://localhost/acatalog/write_to_mysql.php">
In end page:
<input name="ACTION" type="submit" value="Send to mysql">
<input type="hidden" name="valorboleto" value="<actinic:variable name="NumericOrderTotal" />">
<input type="hidden" name="sacado" value="<actinic:variable name="InvoiceName" selectable="false" />">
<input type="hidden" name="numerodocumento" value="<actinic:variable name="TheOrderNumber" />">
<input type="hidden" name="endereco" value="<actinic:variable name="InvoiceAddress1" />">
<input type="hidden" name="bairro" value="<actinic:variable name="InvoiceAddress2" />">
<input type="hidden" name="cidade" value="<actinic:variable name="InvoiceAddress3" />">
work fine! but...
The problem:
I need send to mysql the list of the bought products as display the receipt page: DESCRIPTION , QUANTITY, PRICE , COST , SUBTOTAT, TOTAL.
I tried <actinic:variable name="ProductNameOnline" />
don´t work:
variable to send, but in mysql write> NETQUOTEVAR:PRODUCTNAME
I tried other forms also but it didn't work.
(sorry my english)
Does anyone help me?
In top page:
<form method="post" target="_blank" action="http://localhost/acatalog/write_to_mysql.php">
In end page:
<input name="ACTION" type="submit" value="Send to mysql">
<input type="hidden" name="valorboleto" value="<actinic:variable name="NumericOrderTotal" />">
<input type="hidden" name="sacado" value="<actinic:variable name="InvoiceName" selectable="false" />">
<input type="hidden" name="numerodocumento" value="<actinic:variable name="TheOrderNumber" />">
<input type="hidden" name="endereco" value="<actinic:variable name="InvoiceAddress1" />">
<input type="hidden" name="bairro" value="<actinic:variable name="InvoiceAddress2" />">
<input type="hidden" name="cidade" value="<actinic:variable name="InvoiceAddress3" />">
work fine! but...
The problem:
I need send to mysql the list of the bought products as display the receipt page: DESCRIPTION , QUANTITY, PRICE , COST , SUBTOTAT, TOTAL.
I tried <actinic:variable name="ProductNameOnline" />
don´t work:
variable to send, but in mysql write> NETQUOTEVAR:PRODUCTNAME
I tried other forms also but it didn't work.
(sorry my english)
Does anyone help me?
Comment