I hope this is a simple question. I was using a php script someone had written and posted in the docs on how to replace code (can be found here: http://www.phpbuilder.com/columns/ying20000718.php3)
I am pulling the information from a MySQL database. On one page it works great, because I am pulling a single record and using the command like:
<?php print_output($myrow2["subject"]) ?>
However, in another section, I am pulling multiply rows by using the fetch command. Below is the code:
($myrow2 = mysql_fetch_array($result2)) {
printf("
<fieldset>
<legend class='fieldset'>%s</legend>
%s</fieldset>
<p>\n"
, $myrow2["subject"], $myrow2["message"]
);
}?>
However, I do not know how call upon my print_output command. I'm fairly new at this, so thanks in advance.
Richard