473,398 Members | 2,113 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,398 software developers and data experts.

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 1953

"Steven Munlo" <st********@asdffdsa.tv> wrote in message
news:44***********************@authen.yellow.readf reenews.net...
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
by: Egor Bolonev | last post by:
why functions created with lambda forms cannot contain statements? how to get unnamed function with statements?
10
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...
3
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:...
3
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...
8
by: sudhirlko2001 | last post by:
How to swap two nodes of doubly Linklist
1
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...
4
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...
8
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;...
1
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
0
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...
0
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...

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.