OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

Store result of a dropdown in a cookie

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP, PHP, and Database >> Store result of a dropdown in a cookie
Page: [1]
 
barrysigsworth

 

Posts: 39
Joined: 11/12/2005
Status: offline

 
Store result of a dropdown in a cookie - 8/13/2009 9:08:57   
Hi ,
I have a very simple page with one dropdown box (DRW been spooky'd) the code is below. I want to store the resulting PhoneID in a cookie ("BuyingPhones")("PhoneID").
I fully appreciate most of you will have moved on from FP2003 but your answer be gratefully received.
Thanks Barry




<form method="POST" action="../Updates/TUModel.asp" name="EditStatus2">
<p align="justify"><nobr>
<!--#include file="../_fpclass/fpdblib.inc"-->
<% if 0 then %>
<% end if %>
<%
fp_sQry="SELECT * FROM PhonePicker WHERE (ManuID = ::ManuID::) ORDER BY Model ASC"
fp_sDefault="ManuID=0"
fp_sNoRecords="No records returned."
fp_sDataConn="Unlock"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=True
fp_sMenuChoice="Model"
fp_sMenuValue="PhoneID"
fp_sColTypes="&ManuID=3&Manu=202&PhoneID=3&Model=202&"
fp_iDisplayCols=2
fp_fCustomQuery=False
BOTID=3
fp_iRegion=BOTID
%>
<select NAME="PhoneID" SIZE="1" ONCHANGE=EditStatus2.submit()>
<!--#include file="../_fpclass/fpdbrgn1.inc"-->
<option VALUE="<%=FP_FieldHTML(fp_rs,"PhoneID")%>"><%=FP_FieldHTML(fp_rs,"Model")%>
</option>
<!--#include file="../_fpclass/fpdbrgn2.inc"-->
</select></nobr></p>
</form>
Page:   [1]

All Forums >> Web Development >> ASP, PHP, and Database >> Store result of a dropdown in a cookie
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts