473,563 Members | 2,805 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

sorted list as phonebook substitute

Hi,

until now, I was happy with my little html table for my addresses. Now,
I have some hundred but still don't want to program php/mysql. I would
be nice to choose between address tables sorted by A to Z. Does anybody
know of a script to solve this problem? Many thanks!

Steven
Apr 10 '06 #1
2 1955

"Steven Munlo" <st********@asd ffdsa.tv> wrote in message
news:44******** *************** @authen.yellow. readfreenews.ne t...
Hi,

until now, I was happy with my little html table for my addresses. Now,
I have some hundred but still don't want to program php/mysql. I would
be nice to choose between address tables sorted by A to Z. Does anybody
know of a script to solve this problem? Many thanks!

Steven


The Array object has a sort method, so if you put the names (Last-name
first) into an array, it may make your job a little easier. But putting them
into a database, and using server side programming like JSP, PHP, ASP, Perl,
etc - would make it easier to maintain. You can sort by any field using
SQL - (its just more flexible.)
Apr 11 '06 #2
Hi Lee,

currently, I have a simple HTML-table (e.g. <tr>/<td>) with some dozen
addresses in alphabetical order. Looks quite nice. But the number of
addresses has grown too much (ok, 114 :-). Now, I want to slice the list
in several sublists. I think of 26 sublists from 'A' to 'Z'.

I could make a new html-page with 26 characters as some kind of
navigational-bar which I link to the separate sublists. One click on the
char-link opens the corresponding sublist.

But is there a nicer solution? For example, putting the whole address
list inside the html-page, I choose the character for sorting via
drop-down-field and a javascript "constructs " the new html-page
on-the-fly on client side. Is this a good idea? I have no PHP/MYSQL on
the server (which would easen the job). Thanks for your help!

Steven
Apr 11 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

57
3563
by: Egor Bolonev | last post by:
why functions created with lambda forms cannot contain statements? how to get unnamed function with statements?
10
15107
by: Der Andere | last post by:
I need to implement a sorted (ordered) list. STL has no sorted list type as far as I know. Is there a (straight) way to implement a sorted list using STL? BTW: The type of items in the list will be a class. Is it necessary to implement the > or < operators or to write a compare-function that returns the larger or smaller of two classes?...
3
2852
by: dave | last post by:
I created a circular linked list whats the best way to search function for a name in the list and retrun that node address class PhoneBook { friend PhoneBookUserInterface; public: PhoneBook();
3
22067
by: Andrew Clark | last post by:
*** post for FREE via your newsreader at post.newsfeed.com *** it's been a while since i have poseted to this newsgroup, but for a long time i was not programming at all. but now that i am out of college and facing the prospect of getting a real job, i need to get back into the game. anyway, i don't know if some of you know the stanford CS...
8
4159
by: sudhirlko2001 | last post by:
How to swap two nodes of doubly Linklist
1
1629
by: J L | last post by:
I want to create a sorted list whose values are themselves sorted lists. I wrote the following simple test program but it does not behave as I would expect. What I wanted to do was have the doorConflictList be keyed on a door ID and contain a sorted list called conFlictList. I wrote this expecting the following doorConflictList should...
4
1848
by: shrishjain | last post by:
Hi All, I need a type where I can store my items in sorted order. And I want to keep adding items to it, and want it to remain sorted. Is there any type in .net which I can make use of. I see there is SortedList<key, value> for hash tables, but could find anything for a sorted list. Currently I am using List<string> and whenever I add...
8
2582
by: Guy | last post by:
Is there a better way to search identical elements in a sorted array list than the following: iIndex = Array.BinarySearch( m_Array, 0, m_Array.Count, aSearchedObject ); aFoundObject= m_Array; m_ResultArray.Add ( aFoundObject);
1
6005
by: jerry | last post by:
i have written a simple phonebook program,i'll show you some of the codes,the program's head file is member.h . i suppose the head file works well.so i don't post it. here's the clips of main function which i think has problem // this a simple program about phonebook,it can add items,del items,find items and #include "member.h" #include...
0
7665
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...
0
7583
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7888
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. ...
1
7642
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7950
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...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5213
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...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.