try using nl2br() on it before you print it. Adam
On Thu, 12 Sep 2002, Tom Ray wrote: > Nope still comes up with everything in one big line. I'm running through > different options right now..but I'm tired and my brain is starting to > hurt :) > > Adam Williams wrote: > > >try with <p> </p> and see if that works. > > > > Adam > > > >On Thu, 12 Sep 2002, Tom Ray wrote: > > > > > > > >>Yes, but how do you format the information that comes back out of the > >>whois? I'm doing this: > >> > >><? > >> > >>$whois = system("whois [EMAIL PROTECTED]"); > >> > >>print "<pre>$whois</pre>"; > >> > >>?> > >> > >>But all the information is shown as one big line, no breaks or anything. > >>How would I do this so it showed properly formatted output? > >> > >>Adam Williams wrote: > >> > >> > >> > >>>Have a php page that runs exec() or system() and does a whois query on the > >>>domain you want and then have it output the text to a page. Very simple > >>>to do, less then 2 minutes of coding. > >>> > >>> Adam > >>> > >>>On Thu, 12 Sep 2002, yasin inat wrote: > >>> > >>> > >>> > >>> > >>> > >>>>please anyone can help me about querying a domain .... > >>>>like whois queries ? > >>>> > >>>>if someone has got a script , it's acceptable .... > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > >> > >> > > > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php