Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macromedia Homesite 5 and PHP

Status
Not open for further replies.

Sanjes

Programmer
Oct 15, 2002
9
GB
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(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;, &quot;d&quot;, &quot;e&quot;, &quot;f&quot;);
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
 
Don't do print_r each($a). Just so print_r ($a). ______________________________________________________________________
TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top