473,770 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

chain select only by using php

232 New Member
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 2741
zorgi
431 Recognized Expert Contributor
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 Recognized Expert Moderator Expert
as zorgi mentioned, "chain selecting" only works with JavaScript (unless you want to reload the page each time)
Feb 17 '10 #3
kkshansid
232 New Member
what can i do if user has javascript disabled
Feb 17 '10 #4
Dormilich
8,658 Recognized Expert Moderator Expert
program a fallback using reloads would be unobtrusive. telling the user to enable JS would be easiest.
Feb 17 '10 #5
zorgi
431 Recognized Expert Contributor
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 Recognized Expert Contributor
Oups, Dorm already here. We said the same.
Feb 17 '10 #7
Dormilich
8,658 Recognized Expert Moderator Expert
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
1814
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 on all sequences with these semantics: def join(self, seq): T = type(self) result = T()
2
3274
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 multiplication result. Here is what I need it to do. x ------- 4 2 3 7
0
1077
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 Some kind of Daisy Chain situation. I need sql which will update third column where all rows linked.
0
959
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 for users to exchange customer data with other systems." Is it right? regards, Scott
2
1774
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) { return function(a) { return a + b; }; }
2
1446
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 not?
0
1083
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 collections.deque (its C code is really nice), that compared to list() allows a faster append on the right and a much faster prepend on the left. It's implemented as a double linked list of fixed-sized blocks. All blocks but the first and last are...
15
3238
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: --- do j --- THEN
6
1454
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 Employee(name){ this.name = name || 'default'; } function WorkerBee(name, dept){
11
6003
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
9618
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10260
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9906
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6712
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.