<div dir="ltr">Anyone about this?<div><br></div><div style>Thanks</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 18, 2013 at 2:07 PM, David Villasmil <span dir="ltr">&lt;<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello guys,<div><br></div><div>I have the following config for nibbebill:</div><div><br></div><div><div>

                &lt;param name=&quot;custom_sql_lookup&quot; value=&quot;SELECT ${card_db_column_cash} AS nibble_balance FROM ${card_db_table} WHERE ${card_db_column_account}=${nibble_account};&quot; /&gt;</div>
<div>                &lt;param name=&quot;custom_sql_save&quot; value=&quot;UPDATE ${card_db_table} SET ${card_db_column_cash}=${card_db_column_cash}-${nibble_increment} WHERE ${card_db_column_account}=${nibble_account};&quot; /&gt;</div>


<div><br></div></div><div>I see this on the log, which is obviously failing:</div><div><br></div><div><br></div><div> [UPDATE cards_table SET balance=balance- WHERE pin=12345;]<br></div><div>
<br></div><div>is ${nibble_increment} not the correct variable to use? It looks like it is empty!</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>David</div></font></span></div>


</blockquote></div><br></div>