Re: [PHP] embedding php inside of php

2012-07-02 Thread Matijn Woudt
Hi, First a message to the ones that have responded before me: You're correct about the nested php tags that are not doing what the OP wanted, but you might want to take a closer look at the error that's in the logs. In ANY CASE PHP SHOULD NOT CRASH. What if the OP really wanted to print PHP tags

Re: [PHP] embedding php inside of php

2012-07-02 Thread Daniel Brown
On Sat, Jun 30, 2012 at 8:00 PM, Tim Dunphy wrote: > Hello, > > I am trying to get the hang of php using some examples that I found > in a book. I've been making progress lately, but one thing has me a > bit stumped. > > > In an HTML form that I am echoing through PHP I would like to embed > smal

Re: [PHP] embedding php inside of php

2012-07-01 Thread Yared Hufkens
If you are using PHP 5.4 or short_open_tag is 1, you can also do this: Some HTML text heresome more HTML textand finally other stuff here Am 01.07.2012 14:01, schrieb Tim Streater: > On 01 Jul 2012 at 01:00, Tim Dunphy wrote: > >> I am trying to get the hang of php using some examples that I

Re: [PHP] embedding php inside of php

2012-07-01 Thread Tim Streater
On 01 Jul 2012 at 01:00, Tim Dunphy wrote: > I am trying to get the hang of php using some examples that I found > in a book. I've been making progress lately, but one thing has me a > bit stumped. > > In an HTML form that I am echoing through PHP I would like to embed > smaller chunks of php in

Re: [PHP] embedding php inside of php

2012-06-30 Thread Bastien
Bastien Koert On 2012-06-30, at 8:00 PM, Tim Dunphy wrote: > Hello, > > I am trying to get the hang of php using some examples that I found > in a book. I've been making progress lately, but one thing has me a > bit stumped. > > > In an HTML form that I am echoing through PHP I would like t