First, sorry for poor English.
I hav the following task:
In a Mysql I have a table of events. An event is described in 3 fields: date, place, activity.
Now I want to build a dropdown list where users can select one of the events by klicking, all in a wellknown manner.
So far I have no problems, but the problem is that the text in the dropdown list is a mess. Two of the fields are of variable length.
I tried a combination of adding spaces and then truncate with substr. It was a good improvement, but not good enough.
Could anyone of you give me a hint to bring me inte the right track?
Thanks in beforehand
Jan-Erik
Sweden.
***************
I hav the following task:
In a Mysql I have a table of events. An event is described in 3 fields: date, place, activity.
Now I want to build a dropdown list where users can select one of the events by klicking, all in a wellknown manner.
So far I have no problems, but the problem is that the text in the dropdown list is a mess. Two of the fields are of variable length.
I tried a combination of adding spaces and then truncate with substr. It was a good improvement, but not good enough.
Could anyone of you give me a hint to bring me inte the right track?
Thanks in beforehand
Jan-Erik
Sweden.
***************
Comment