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.

conditional - PHP - and / or keywords -


is && same "and", , || same "or" in php?

i've done few tests, , seems behave same. there differences?

if not, there other php signs have word equivalents , think makes code easier read?

and , or have higher lower precedence && , ||. more exact && , || have higher precedence assignment operator ( = ) while and , or have lower.

http://www.php.net/manual/en/language.operators.precedence.php

usually doesn't make difference, there cases when not knowing difference can cause unexpected behaviour. see examples here:

http://php.net/manual/en/language.operators.logical.php


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 -