You are here: Re: Newbie Needs Help With echo() « PHP Programming Language « IT news, forums, messages
Re: Newbie Needs Help With echo()

Posted by Curtis on 02/01/07 03:50

On Wed, 31 Jan 2007 18:57:37 -0800, <tmattevans@gmail.com> wrote:

> Hi All --
>
> I had never even looked at PHP until a few hours ago. I'm trying to
> get someone else's code to work. My sense is that the error will be
> pretty obvious to someone familar with the language. The lines of
> code below don't work -- some of the PHP is actually shown in the
> browser window. What am I missing?
>
> Thanks in advance....
>
> Matt
>
> echo ("<input type=3D\"hidden\" name=3D\"x_description\" value=3D\"" .=

> $x_Description . "\">\n" );
> echo ("<input type=3D\"hidden\" name=3D\"x_login\" value=3D\"" . $logi=
nid .
> "\">\n");
> echo ("<input type=3D\"hidden\" name=3D\"x_amount\" value=3D\"" . $amo=
unt .
> "\">\n");
>

Your code needs to be wrapped in PHP tags: <?php /* execution */ ?>

Before running this code, did you try a "hello, world" program to check =
if =

everything is working as it should?

-- =

Curtis, http://dyersweb.com

 

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

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