473,395 Members | 1,696 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Default

hey guys, i have a default section on a HTML page, basicaly its a checkbox that when clicked will keep the contents of a drop downlist the same when the page is next reloaded.

so when the box is checked, the page submited, then that page is like that until the next time the checkbox is checked and submited.

i havent a clue how to write it.
Mar 29 '07 #1
4 1405
ak1dnar
1,584 Expert 1GB
This Question is not clear for give you a answer. please post some codes or just make it in to steps that makes a sense about the Application.
Mar 29 '07 #2
Steps

1. USer LOGS on

2. they are then redirected to a page based on their name e.g DO is directed to DO.php

3. DO.php contains a table of users and dropdowns with locations, that need to be changed.

4. the locations are changed, then i want the option to check a CHECKBOX, to save the changes to DEFAULT settings for the next time the page is loaded.

sorry, im not very good at making any sense in forums....but i hope this sort of helps ya
Mar 29 '07 #3
ak1dnar
1,584 Expert 1GB
Steps

1. USer LOGS on

2. they are then redirected to a page based on their name e.g DO is directed to DO.php

3. DO.php contains a table of users and dropdowns with locations, that need to be changed.

4. the locations are changed, then i want the option to check a CHECKBOX, to save the changes to DEFAULT settings for the next time the page is loaded.

sorry, im not very good at making any sense in forums....but i hope this sort of helps ya

create a table for users with id,username,pwd,login_page. and validate the usernames gainst to the table. if its a correct user name with password redirect the user to the page.

create another table for with default settings and update the default settings with the user specified values.
next time when he logs he will get the updated results.
Mar 29 '07 #4
create a table for users with id,username,pwd,login_page. and validate the usernames gainst to the table. if its a correct user name with password redirect the user to the page.

create another table for with default settings and update the default settings with the user specified values.
next time when he logs he will get the updated results.
couldnt i just have a save button and when the checkbox is checked and saved pushed, then it submits and saves the page??? to those settings??
Apr 2 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: earl | last post by:
class temp { public: temp(); foo(char, char, char*); private: char matrix; }; temp::foo(char p, char o, char m = matrix )
0
by: inquirydog | last post by:
Hi- I am using xml to hold configuration data for a project, and using schema to define what the configuration file should look like. I wanted to get some advice on an intelligant way to...
15
by: A | last post by:
Hi, A default copy constructor is created for you when you don't specify one yourself. In such case, the default copy constructor will simply do a bitwise copy for primitives (including...
4
by: Steven T. Hatton | last post by:
I mistakenly set this to the comp.std.c++ a few days back. I don't believe it passed the moderator's veto - and I did not expect or desire anything different. But the question remains: ISO/IEC...
10
by: Ook | last post by:
I'm having trouble comprehending what exactly "default construction" is. I know how to provide a constructor with initial values, so that if I, for example, in my code do this: MyClass...
19
by: Andrew J. Marshall | last post by:
I want to create a class that must receive a parameter when instantiated. In other words, I do not want it to have a "Public Sub New()". 1) Does VB.NET create a default public constructor if I do...
74
by: Zytan | last post by:
I have a struct constructor to initialize all of my private (or public readonly) fields. There still exists the default constructor that sets them all to zero. Is there a way to remove the...
4
by: Jess | last post by:
Hello, I tried several books to find out the details of object initialization. Unfortunately, I'm still confused by two specific concepts, namely default-initialization and...
4
by: Macneed | last post by:
i am a newbie, i remember i read a book talking about when u declare a array variable using float ABC = new float; the whole array element in ABC ( ABC to ABC ) will automatic initialize to 0...
7
by: =?Utf-8?B?Y291Z2FyaXN0aWM=?= | last post by:
I am trying to convert an C# application to VB and have one issue which is converting the generic value to the default. C# uses return default(T) as the return value how would I translate this in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.