XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).
Moderator: General Moderators
-
vikramsharma
- Forum Newbie
- Posts: 1
- Joined: Sat Sep 13, 2008 1:39 am
Post
by vikramsharma »
hi guys.
i want to know if there a way to insert php output as a table into static html file.
some sort of include.
php generates-> some table -> now insert this table into static index.html file.
my php code looks like this
Code: Select all
<td>
<a href="<?php echo $the_permalink;?>" target="_blank_"><?php echo $blog_title; ?></a> (
<?php echo $blog_date; ?>) :<br>
<?php echo $blog_content; ?> ..... <a href="<?php echo $the_permalink;?>" target="_blank_">read more</a>
</td>
-
Kadanis
- Forum Contributor
- Posts: 180
- Joined: Tue Jun 20, 2006 8:55 am
- Location: Dorset, UK
-
Contact:
Post
by Kadanis »
can't you just output your html + php variables into a string then write the string to the html file using fwrite()