Welcome Guest, Not a member yet? Register   Sign In
session header error!!!
#4

[eluser]JanDoToDo[/eluser]
Its called a ternary operator. Its a shorthand IF statement. it tests the first condition, i.e. isset($_SESSION['cart']) and then if that returns true it assigns $cart a value of $_SESSION['cart'] else it assigns it as an empty array fo you to work with Smile


Messages In This Thread
session header error!!! - by El Forum - 03-13-2010, 11:54 AM
session header error!!! - by El Forum - 03-13-2010, 12:19 PM
session header error!!! - by El Forum - 03-13-2010, 12:53 PM
session header error!!! - by El Forum - 03-13-2010, 01:00 PM
session header error!!! - by El Forum - 03-13-2010, 01:23 PM
session header error!!! - by El Forum - 03-13-2010, 02:08 PM
session header error!!! - by El Forum - 03-13-2010, 02:41 PM
session header error!!! - by El Forum - 03-13-2010, 02:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB