| Weblog: | Charts with PHP and Flash, and a port to Perl | |
| Subject: | PHP Cleanup (+ Remoting) | |
| Date: | 2004-09-28 10:46:31 | |
| From: | sklar | |
|
Response to: PHP Cleanup (+ Remoting)
|
||
|
Argh. The < in my PHP gets eaten. View Source to see my handiwork. :( |
||
Showing messages 1 through 2 of 2.
| Showing messages 1 through 2 of 2. |




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]) . '&';
}