cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

How to a parse result using curl?

From: Dan Brown <dbrown_at_attbi.com>
Date: Sun, 24 Feb 2002 02:13:37 -0800

Hi everyone!

This newbie is over his head again! Any help would be appreciated…

I’m trying to parse the result from curl. So far my code basically ends with
$result = curl_exec ($ch);

Curl outputs the results to the browser. I need to be able to not only parse
it, but to put the values into a table. The return string is separated by
<BR>

Example: name1=value1<br>name2=value2<br> name3=value3<br> name4=value4

I need it to display like below in a table:

|Text here | $value1
|Text here | $value2
|Text here | $value3
|Text here | $value4

Any idea’s/help/examples would be greatly appreciated! I’ve looked through 2
PHP books and I’m still lost :-(

Thanks everyone!
Dan
Received on 2002-02-24