Ok, so I'm using the trim function on a field being retrieved from a MS SQL Database. The field appears to be empty, but the following does not work.It simply outputs "- -"... with a space between the dashes. Any ideas why?PHP Code:echo "<p class=warn>-" . trim($row[5]) . "-";




Reply With Quote