"Message" area need help with code

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   "Message" area need help with code
Block123
CZ Newbie
Block123 has been a member for over 19 year's 19 Year Member
usa.gif texas.gif
Occupation: Telecom
Age: 53
Gender: Male
Fav. Sports Team: Denver Broncos
Status: Offline
Joined: Jul 07, 2005
0.00 posts per day
Posts: 23
Points: 972
   
Hi,

Running PhpNuke 7.0

Can you put PHP code in a "Message" section?

Under Admin, you click "Messages". In the "Content" area I'd like to get this code to work.

What am I missing?

<td align="center">
<br>
<br>
There are <b><?php echo $num_records; ?></b> trucks in the Sweptline Registry.
<br>
<br>
Most Recent Entry
<br>
<br>
<?php if ($myrow["truckpicture"]) {
      printf("<a href=\"%s?serial=%s\"><img src=\"images/%s/%s\" width=\"100\"></a><br>",                      "display.php", $myrow["serial"], $myrow["serial"],"truck_t.jpg");
         } ?>
<b><?php echo $myrow["year"]?> <?php echo $myrow["make"]?> <?php echo $myrow["model"]?>&nbsp;</b><br>
Owner: <b><?php echo $displayname?></b><br>
Date Entered: <b><?php echo $myrow["datereg"];?></b><br>
Serial Number: <?php printf("<a href=\"%s?serial=%s\">%s</a>","display.php",$myrow["serial"],
      $myrow["serial"]);?><br>
<br>
<br>
<br>
<br>
</td>



Back to top Reply with quote
#2   re: "Message" area need help with code
Block123
CZ Newbie
Block123 has been a member for over 19 year's 19 Year Member
usa.gif texas.gif
Occupation: Telecom
Age: 53
Gender: Male
Fav. Sports Team: Denver Broncos
Status: Offline
Joined: Jul 07, 2005
0.00 posts per day
Posts: 23
Points: 972
   
Can someone code this into a block maybe?

I Would really appreciate it. Willing to send a personal donation.

Would prefer it in a Message, but will settle for a center block.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum