Jump to content


Photo

hypehn in field values


  • Please log in to reply
No replies to this topic

#1 MicroShaft

MicroShaft
  • Members
  • Pip
  • Newbie
  • 4 posts
  • LocationStoke on Trent (I know but someone has to live there)

Posted 30 September 2005 - 08:50 PM

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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users