Im currently running Macromedia Homesite 5 to develop a php website. this package in view of expert php programmers might be pretty ordinary or not too good but if u know of better editors that would be great.
My question is as follows:
I am running php with IIS on Win2K Adv Server. i am jsut going through some array pointing from a php book which i am learning from, however it does not decode the php script and gives me an error all other php scripts are fine,
<?
$a = array("a", "b", "c", "d", "e", "f"
echo current($a);
print_r each($a);
echo current($a);
?>
It falls over at the print_r each($a) section doesnt like the keyword print_r or each. Please could you tell me what im doing wrong
Php Beginner, striving to become a good php developer
My question is as follows:
I am running php with IIS on Win2K Adv Server. i am jsut going through some array pointing from a php book which i am learning from, however it does not decode the php script and gives me an error all other php scripts are fine,
<?
$a = array("a", "b", "c", "d", "e", "f"
echo current($a);
print_r each($a);
echo current($a);
?>
It falls over at the print_r each($a) section doesnt like the keyword print_r or each. Please could you tell me what im doing wrong
Php Beginner, striving to become a good php developer