PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old July 9th, 2002, 05:05 AM
dawho9 dawho9 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 1 dawho9 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > print_output - newbie question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway