Jump to content

Archived

This topic is now archived and is closed to further replies.

MicroShaft

hypehn in field values

Recommended Posts

can some one advise on this.

 

i have been given a mysql db. i have found a field which contains text which start with a hyphen such as

 

-Tuesday

 

 

im trying make a select box option selected if the values from the db field match

 

the values in the select box(also contain hypens) using Jscript .

 

if i remove the hyphen in the DB it works fine

 

can someone tell me why?

 

cheers

 

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.