This one time, at band camp, clive [EMAIL PROTECTED] wrote:
You could also look at using a templating engine like Smarty for instance.
BHAHAHAHAHAHAHAAA
1000 lines of code for hello world
--
Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb
On Wed, March 22, 2006 3:02 pm, blackwater dev wrote:
I have a chunk of html data that I want to output for each iteration
through
a db result
while($result){
$list.=file_get_contents(my_template_file.php);
}
return $list;
The template file looks like this:
table
tr
I have a chunk of html data that I want to output for each iteration through
a db result
while($result){
$list.=file_get_contents(my_template_file.php);
}
return $list;
The template file looks like this:
table
tr
td?php echo $result[name];?/td
/tr
/table
I basically want
blackwater dev wrote:
I have a chunk of html data that I want to output for each iteration through
a db result
while($result){
$list.=file_get_contents(my_template_file.php);
}
return $list;
The template file looks like this:
table
tr
td?php echo $result[name];?/td
/tr
blackwater dev wrote:
I have a chunk of html data that I want to output for each iteration through
a db result
while($result){
$list.=file_get_contents(my_template_file.php);
}
return $list;
The template file looks like this:
table
tr
td?php echo $result[name];?/td
/tr
You could also look at using a templating engine like Smarty for instance.
clive
blackwater dev wrote:
I have a chunk of html data that I want to output for each iteration through
a db result
while($result){
$list.=file_get_contents(my_template_file.php);
}
return $list;
The template
6 matches
Mail list logo