|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
print_output - newbie question
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 Brynteson |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > print_output - newbie question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|