473,387 Members | 1,517 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,387 software developers and data experts.

chain select only by using php

232 100+
i have a table containing states and districts i want to make chain select only by using php without any java script but i m very confused how to pass variable on the same page that is as soon as user select particular state its districts get loaded from database to the registration form
Feb 17 '10 #1
7 2720
zorgi
431 Expert 256MB
Once page is loaded you can not use php any more so to achieve this without page reloads you would have to use some sort of javascripting or AJAX if you want it to be database driven.
Feb 17 '10 #2
Dormilich
8,658 Expert Mod 8TB
as zorgi mentioned, "chain selecting" only works with JavaScript (unless you want to reload the page each time)
Feb 17 '10 #3
kkshansid
232 100+
what can i do if user has javascript disabled
Feb 17 '10 #4
Dormilich
8,658 Expert Mod 8TB
program a fallback using reloads would be unobtrusive. telling the user to enable JS would be easiest.
Feb 17 '10 #5
zorgi
431 Expert 256MB
That is really always a question :)

I guess you can politely inform your users that they have to have javascript enabled to fully enjoy the benefits of your system and at the same time you can provide sort of php cahin forms (in case they insist to have javascript disabled) with loads of reloading.
Feb 17 '10 #6
zorgi
431 Expert 256MB
Oups, Dorm already here. We said the same.
Feb 17 '10 #7
Dormilich
8,658 Expert Mod 8TB
well, some things are obvious
Feb 17 '10 #8

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

Similar topics

10
by: David Murmann | last post by:
Hi all! I could not find out whether this has been proposed before (there are too many discussion on join as a sequence method with different semantics). So, i propose a generalized .join method...
2
by: janet04 | last post by:
Can someone point me out a function that return the multiplication of all row contents from a column? It should work like the sum() function, but instead of the summary.. it will return the chain...
0
by: vkunta | last post by:
I have situation where table contains data where subset of a data can be linked. Ex: Col1 COL2 1 2 1 3 3 4 5 8 8 9...
0
by: Scott | last post by:
Hi, One mail got from www.techieindex.com saying " Oracle is adding automated configuration tools to its supply chain management applications and is upgrading its CRM software to make it easier...
2
by: DanYan | last post by:
So I was doing some stuff in Javascript, and I want to get access to a function's scope chain. As a simplified example of what I actually am trying to do, suppose I have this: function add(b)...
2
by: Cramer | last post by:
More of a theoretical question here: It just occurred to me that the ASP.NET request pipeline delivers much of the GoF Chain of Responsibility pattern. What do you think? If it does not, then, why...
0
by: bearophileHUGS | last post by:
Several languages like Java, C# etc have a List type in the std lib. Python has a built-in list(), it's implemented as array dynamic on the right. Not too much time ago Hettinger has added a...
15
by: jzakiya | last post by:
I'm translating a program in Python that has this IF Then chain IF x1 < limit: --- do a --- IF x2 < limit: --- do b --- IF x3 < limit: --- do c --- .----- ------ IF x10 < limt: ---...
6
by: vwkng1987 | last post by:
Hi everyone Please look at the code below: (I am picking up JS from Crockfold and a few other online sources too) *************************************************************** function...
11
by: ManWithNoName | last post by:
Dear sir, say, do you know if it is possible to "break" a method chain in php? e.g. class a{
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.