Jump to content

hypehn in field values


MicroShaft

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

 

Link to comment
https://forums.phpfreaks.com/topic/2592-hypehn-in-field-values/
Share on other sites

Archived

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

×
×
  • Create New...

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.