You are here: Beginning php study « PHP « IT news, forums, messages
Beginning php study

Posted by Wings on 06/18/05 09:25

Hi, just beginning my study of php and got stuck right off the bat. I saved
the following to a page called test.php.

<? php
$age = 67;
echo $age;
?>

Looking at it in the browser I get

Parse error: syntax error, unexpected T_VARIABLE in
C:\XAMPP\xampplite\htdocs\nitefly\FCU\FCU\test.php on line 6

Line 6 was the $age=67.

Any help would be appreciated. Thanks in advance.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация