Displaying output from mysql table in a certain spot on the page

I have a page that displays the contents of a field using "printf".  It displays at the top of the page.  How can I format this so that the information is displayed at a different spot on the page.
rhindoAsked:
Who is Participating?
 
str_kaniConnect With a Mentor Commented:
Here you have to use tables to control the place where the outputs are displayed...
For eample to display....

my static contents here                                                             something here


some more here                                                                        output from DB


some extra lines here .............

<table>
<tr>
   <td>my static contents here </td>
   <td>something here</td>
</tr>
<tr>
   <td>some more here</td>
   <td><?php // fetch data from the db and display here.........?></td>
</tr>
</table>

This will surely help you :)
0
 
quad341Commented:
put the command at a different point in the page

ex.

<html>
<head>
<!-- header stuff -->
</head>
<body>
beginnning content<br>
ETC
<?php print_f($whatever); ?>
continue content



that would have it print after the beginning content
0
 
rhindoAuthor Commented:
Thanks
0
 
str_kaniCommented:
You are welcome.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.