advertisement

Weblog:   Charts with PHP and Flash, and a port to Perl
Subject:   PHP Cleanup (+ Remoting)
Date:   2004-09-29 11:22:57
From:   aristotle
Response to: PHP Cleanup (+ Remoting)

Or use < to escape it, or use code tags, or maybe both. Since this silly commenting system has no preview button, I'm posting all permutations in one go…


Escape:


$params .= 'rows=" . count($value) . '&cols=' . count($value[0]) . '&';
for ($r=0; $r<count($value);$r++){
$params .= "r$r" . join(';',$value[$r]) . '&';
}


Code tags:



$params .= 'rows=" . count($value) . '&cols=' . count($value[0]) . '&';
for ($r=0; $r<count($value);$r++){
$params .= "r$r" . join(';',$value[$r]) . '&';
}
</code>


Code tags and escapes:



$params .= 'rows=" . count($value) . '&cols=' . count($value[0]) . '&';
for ($r=0; $r<count($value);$r++){
$params .= "r$r" . join(';',$value[$r]) . '&';
}

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • PHP Cleanup (+ Remoting)
    2004-09-29 11:24:25  aristotle [Reply | View]

    Heh, sigh. This O'ReillyNet blogging system blows chunks.

Showing messages 1 through 1 of 1.