Jump to content

Extra space


Turansky

This topic is 8123 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have a pulldown with values assigned to names. When they are selected and entered in the field in the database it has an extra blank space under the value. I can manually go in and delete these but prefer not to. When I display the value on a webpage it displays it with a space at the end which is not good if you are trying display a period at the end.

Here is an example of one of the options:

code:


<option value="Connie Anderson, (707) 555-1234 or [email protected]">Connie Anderson</option>

Is my problem the way I have written this or is there something with that field I need to do in the database?

Thank you

Kent

Link to comment
Share on other sites

Do you mean that it places a return character after the selected value?

BTW, Wrightwood is gorgeous. I'm in Lancaster, and we're thinking about going up there this weekend. Any snow?

Chuck

Link to comment
Share on other sites

This topic is 8123 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.