* Soheil Shaghaghi
> Hello everyone,
> Can someone please tell me how I can do the following:
> From the query below, I want to get the details of the header of
> the message and display them on a page, one per line.
> If I just query the Header field, it displays them in one long line.
> What can I do to display the them one per filed?

Since you are using HTML, you can use <BR> after each line to get a line
break, or you can put the entire output within a <PRE> element.

[...]
> The header should look like this:
>
> Return-Path: <[EMAIL PROTECTED]>
> Received: from site.com (ns1.site.net [216.188.0.66])

[...]
> But it looks like this:
> Return-Path: <[EMAIL PROTECTED]> Received: from site.com (ns1.site.net
> [216.188.0.66]) by www.site.com (8.11.1/8.11.1) with  SMTP id g8I2Eir74182

It seems you are getting all the data you want, you just need the line
breaks.

--
Roger
sql


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to