This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Webmaster forum > August 2006 > Help with PHP in HTML





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Help with PHP in HTML
John

2006-08-19, 3:35 am

I have searched all over the Internet and can't find a solution.


I have a PHP mailing script that is really good. However, if I create
a link to the mailing list, it looks bad. No color, black and white
and it's located to the very left of the screen. I would like to have
the mailing list on my front html page:


example


Join our mailing list

Email address


Submit



Something like that. Is it possible to have PHP and html together? I
have tried to use the include command, but that just didn't display
the mailing list.



Thank You


John
Leonard Blaisdell

2006-08-19, 6:48 am

In article <ndede21dcuvgnanc8lo6f9977tq4omrofr@4ax.com>,
John <John_nospam@hhhhhhhhhh.com> wrote:

> Something like that. Is it possible to have PHP and html together? I
> have tried to use the include command, but that just didn't display
> the mailing list.


Yes. You can incorporate HTML directly into your script. You can also
put your raw output from PHP between element tags that are styled.
Forget using #include.

leo

--
<http://web0.greatbasin.net/~leo/>
Jerry Stuckle

2006-08-19, 6:44 pm

Leonard Blaisdell wrote:
> In article <ndede21dcuvgnanc8lo6f9977tq4omrofr@4ax.com>,
> John <John_nospam@hhhhhhhhhh.com> wrote:
>
>
>
>
> Yes. You can incorporate HTML directly into your script. You can also
> put your raw output from PHP between element tags that are styled.
> Forget using #include.
>
> leo
>


No, you should not forget about #include. SSI has several advantages,
and you can place the code anyplace you want - including between styled
element tags.

In fact, I can think of no reason NOT to use #include unless the file is
not on the same server.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews