[ic] table update via form not working as expected

Thanh Luong interchange-users@icdevgroup.org
Tue Dec 17 10:23:01 2002


I have been trying to update my table via a form. I have followed the
example in the docs and made my code as close to the docs as I could.
I have the following code

[set update_database]
 [set mv_data_enable]1[/set]
[/set]

<FORM ACTION="[process secure=1]" METHOD="POST">
<INPUT TYPE=hidden NAME="mv_session_id" VALUE="[data session id]">
<INPUT TYPE=hidden NAME="mv_click" VALUE="update_database"> 
<INPUT TYPE=hidden NAME="mv_todo" VALUE="set"> 
<INPUT TYPE=hidden NAME="mv_nextpage" VALUE="car_of_the_week">
<INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="car_of_the_week_db">
<INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="update">
<INPUT TYPE=HIDDEN NAME="mv_data_key" VALUE="code">
<input type=hidden name="mv_data_fields" value="code,img_back">

<pre> 
[loop arg=|
  fi=car_of_the_week_db
  sf=code
  se=10064
    |]
<input type=hidden name="img_back" value="tom">
[/loop]
</pre>
<input type=submit>
</form>
I have been trying to troubleshoot a larger problem for a while now and
I this form submission is part of the problem. I use to have variables
in the form but removed them for debugging and appearently it wasnt my
variables that did not allow the form to submit to update my table.
Does anyone have any clues to offer.
thanks in advance.
Tom

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com