RE: [PHP] Problem when displaying the $ character

2001-10-03 Thread Maxim Maletsky \(PHPBeginner.com\)
] Problem when displaying the $ character Hi, try this: Item 1 Item 2 "; ?> I hope this can help you. Cheers On Wed, Oct 03, 2001 at 11:08:27AM -0700, Dominik wrote: > Through php, I run a function that creates a list of items in a select > menu as follows: > > > "

Re: [PHP] Problem when displaying the $ character

2001-10-03 Thread EDUMEXICO
Hi, try this: Item 1 Item 2 "; ?> I hope this can help you. Cheers On Wed, Oct 03, 2001 at 11:08:27AM -0700, Dominik wrote: > Through php, I run a function that creates a list of items in a select menu > as follows: > > > ">Item 1 > ">Item 2 > > > but here is how the source code looks: >

Re: [PHP] Problem when displaying the $ character

2001-10-03 Thread Philip Olson
This assumption is incorrect, these are just variables that most likely contain unwanted whitespace, such as a \n. Consider using trim() beforehand. Maybe I misunderstand your question. Also, no need for "" when printing variables directly like that. echo $foo; Regards, Philip Olson On

[PHP] Problem when displaying the $ character

2001-10-03 Thread Dominik
Through php, I run a function that creates a list of items in a select menu as follows: ">Item 1 ">Item 2 but here is how the source code looks: Item 1 Item 2 It looks like php takes the $ character and inserts a return for it. This though disrupts the value of the form element. Is there