Online Shopping : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to
Did You Find This Entry Useful?

0 of 3 people (0%) answered Yes
Recently 0 of 3 people (0%) answered Yes


Hyphen/Minus/Dash problem with JavaScript,HTML and PHP

Mar 28th, 2008 17:15
ha mo, Peter Hocking,

The problem was that
was parsing $dcwatts-1 and $dchours-1 as -1 and no amount of escaping
would fix it so to allow a JavaScript, the HTML and PHP to function
change the hyphen/minus/dash to an underscore  ( _ ).