Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

php - How can an array value be SIX chars long and echoing nothing (string(6) " ")? -


this weird. on screen right :

$albumgenre : array(6) {   [0]=>   string(5) "noise"   [1]=>   string(6) " "   [2]=>   string(5) "blues"   [3]=>   string(5) "blues"   [4]=>   string(5) "blues"   [5]=>   string(5) "blues" } 

this output of :

var_dump($albumgenre); 

can see says [1]=> string(6) " " ??? how can array value 6 chars long, seen " " ?

i know value is. it's "unknown" mp3 tag. fine, it's unknow, want rid of then. can't test it, if php can't reliably tell me hell array value him, see ?

i guess question : how can know what's inside array ? is'nt var_dump($array) correct way know everything $array ?

because value html entities &nbsp, like

var_dump(' '); 

make sure view source, , copy output var_dump...


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -