Thursday, 15 May 2014

php - Declaring Multi dimensional arrays | array() as language construct -



php - Declaring Multi dimensional arrays | array() as language construct -

why wont work?

http://codepad.org/5eic7pq0

trying larn php.

posted iphone notepad => codepad.

edit:

http://codepad.org/doiaymb7

updates: • removed spaces • replaced html line breaks w/ \n's per codepad • added code recognize new makes • seperated makes & models--it looks better

next step implement table.

sorry not posting code straight friends

in raw code, have garbage characters messing php's parse of code:

<?php $cars = array(    array(    "make" => "toyota",    "model" => "corolla",    "size" => "compact"    ),

i downloaded raw code paste, , opened simple text editor. else can sense free open more advanced editor garbage characters there not beingness displayed in codepad output. why codepad reporting error on line 3.

php arrays

No comments:

Post a Comment