The code that I have is:

&lt;input type="text" name="some_name" value="&lt;?php echo CHtml::encode($str); ?&gt;" /&gt;


$str is the input data. 'CHtml::encode()' is Yii's way of encoding special characters into HTML entities. Can this be bypassed? 

I know it can be broken if I do not put those double quotes around the input. But I do not think just by putting double quotes around will make it unbreakable. 


Question: What are the advantages/disadvantages of the Rock Band 3 Keyboard?
Answer: My qualifications: I've used both the RB3 keyboard and a Roland D-50 MIDI Synth with a MIDI adapter.


If you use a full-sized midi keyboard in Pro mode, you do NOT use the entire keyboard. RB3 ignores notes played outside the two octave range of the RB3 keyboard. The pro keys chart displayed is the same no matter what kind of keyboard you are using (unlike the pro guitar charts which I understand are different depending on whether you use a 17-fret Mustang or a 22-fret Squier).
A normal midi keyboard can also function as a five-button peripheral in non-Pro mode. The only thing missing are the color-coded tags over the C-D-E-F-G keys that the RB3 keyboard has, but since you shouldn't be looking at your hands anyway, that shouldn't matter ;)
I don't think RB3 does anything with the velocity-sensitive keys, so you should not lose any functionality if your midi keyboard isn't velocity-sensitive. This is the only answer I'm not 100% positive on (my D-50 has velocity-sensitive keys), but I'm pretty sure.
The expression bar on the RB3 keyboard is like the whammy bar on the 5-button guitar controllers - it alters the sound of the notes and when used on a held note with overdrive, it will add to your overdrive bar. My D-50 has a pitch bend joystick that the MIDI adapter converts to the same function.