Re: PHP To HTML conversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HTML is not a way for communicating with user.
HTML is a markup language.
HTTP is used to transport HTML over a network.

Altamiro Teixeira de Souza said the following on 6/20/2007 7:42 AM:
>
> Hi !
> First, we need understand what each of those elements mean:
> - PHP is a programming language
> - HTML is way for comunicating with user
> - A database storages data.
> So you need know how to use PHP language for getting data from a database
> for presenting them to the user, using HTLM, is that correct ?
>
> 2007/6/20, Bob Hanson <hansonr@xxxxxxxxxx <mailto:hansonr%40stolaf.edu>>:
> >
> > If you need for some reason to save the actual processed PHP output that
> >
> > would normally go out to a client, you can open an output buffer,
> > include the selected PHP page, and then write the contents of the output
> > buffer to a file:
> >
> > ob_start();
> > (file_exists($file)?include $file:'File Not Found');
> > $html = ob_get_contents();
> > ob_end_clean();
> >
> > then do whatever you want with $html.
> >
> > Bob Hanson
> >
> > >On 6/20/07, Dwarakesh Akoliya <dakuakoliya@xxxxxxxxx 
> <mailto:dakuakoliya%40yahoo.com><dakuakoliya%40yahoo.com>>
> > wrote:
> > >
> > >
> > >>Hello Friend PLese Help me....
> > >>
> > >> How i Convert PHP data in to HTML pages..??
> > >>
> > >> I build one project in this project i need created a html pages..
> > >> and in this html page ,but i stored data in database so i need to
> > created a sepret HTML page... So how i created a HTML page.....??
> > >>
> > >> Dwarakesh ....
> > >>
> > >>
> >
> >
> >
>
> -- 
> Altamiro Teixeira de Souza
>
> [Non-text portions of this message have been removed]
>
>  

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux