Hi.
Is possible to include php file inside printf ?
Thank you for help.
Is possible to include php file inside printf ?
Thank you for help.
Code:
<?php $result = mysql_query("SELECT * FROM base WHERE id='$id' ",$db1);
}
if (mysql_num_rows($result) > 0) {
$myrow = mysql_fetch_array($result);
do {
printf("
<table>
<tr>
<td>
<p>%s</p>
</td>
<td>
<p>[COLOR=red]<?php include ('phpfile.php');?>[/color]</p>
</td>
</tr>
</table>",$myrow["text"]);
}
while ($myrow = mysql_fetch_array($result));
}
?>