dynamic web page creation
From: J Bard (support_at_networks-cc.com)
Date: 12/30/03
- Next message: CountScubula: "Re: preg_replace and an include file"
- Previous message: Tom West: "Re: Creating a PHP page with PHP"
- Next in thread: Tom Thackrey: "Re: dynamic web page creation"
- Reply: Tom Thackrey: "Re: dynamic web page creation"
- Reply: CountScubula: "Re: dynamic web page creation"
- Reply: Tony Harrison: "Re: dynamic web page creation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Dec 2003 22:02:13 GMT
I'd like use PHP to create html on the fly ...that is to mix constants like
"<img src= " with variables holding file names , and thus create HTML.
When I test with <?php echo '<p>table</p>'; ?> I get "table" on my
page.
When I test with <?php '<p>table</p>'; ?> I get nothing .
When I remove the quotes I get an error.
I know I could just build tables with straight HTML, but when it comes to
forming varible URLs or , again, pages with photos based on lookups , it
seems I'll have to use mixed PHP and HTML ....
- Next message: CountScubula: "Re: preg_replace and an include file"
- Previous message: Tom West: "Re: Creating a PHP page with PHP"
- Next in thread: Tom Thackrey: "Re: dynamic web page creation"
- Reply: Tom Thackrey: "Re: dynamic web page creation"
- Reply: CountScubula: "Re: dynamic web page creation"
- Reply: Tony Harrison: "Re: dynamic web page creation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|