Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Passing Value with Select Statement.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JJenson
Advanced Member

USA
2121 Posts

Posted - 16 September 2007 :  13:44:28  Show Profile  Visit JJenson's Homepage  Reply with Quote
I have this piece of code:


" <select name=""FISFREE"" size=""4"">" & vbNewLine & _
" <option value=""0"">Pay To Download</option>" & vbNewLine & _
" <option value=""1"">Free Download</option>" & vbNewLine

Response.Write " </select>" & vbNewLine & _


I am trying to pass a value to the database into the column F_ISFREE

But everytime I upload it passes the 0 value instead of 1 when the 1 is selected.

Hope this makes sense I am trying to pass the second value to the database cause it always passes the 0<

Edited by - JJenson on 16 September 2007 13:45:43

phy1729
Average Member

USA
589 Posts

Posted - 16 September 2007 :  21:53:47  Show Profile  Reply with Quote
<select name=""F_ISFREE"" size=""4"">" & vbNewLine & _
I believe would solve it.<
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 16 September 2007 :  23:04:57  Show Profile  Visit JJenson's Homepage  Reply with Quote
Thanks solved this as well I ended up switching to radio buttons calling it the same way then I found there was a second file I had to edit to pass the values. I need to keep searching harder and harder.<
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 17 September 2007 :  20:50:13  Show Profile  Visit JJenson's Homepage  Reply with Quote
Thanks image actually I have this passing correctly I just had to change values in uploadengine.asp to coincide with the radio buttons. Thanks All <
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.55 seconds. Powered By: Snitz Forums 2000 Version 3.4.07