note 76381 added to ref.fdf

From: Date: Thu, 12 Jul 2007 15:49:45 +0000
Subject: note 76381 added to ref.fdf
Groups: php.notes 
Request: Send a blank email to php-notes+get-128416@lists.php.net to get a copy of this message
re. g8z at yahoo dot com 18-Oct-2004 06:46 I think there is a line missing in foreach ($keys as $key => $value) { $key = addcslashes($key, "\n\r\t\\()"); $fdf .= "<< /T ($key) /V /$value >> \n"; } I have changed it to read $key = addcslashes($key, "\n\r\t\\()"); $value = addcslashes($value, "\n\r\t\\()"); $fdf .= "<< /T ($key) /V /$value >> \n"; Now all the check boxes and radio buttons are populated, not just the last one in the form as was happening before. ---- Server IP: 194.145.210.3 Probable Submitter: 82.21.209.121 ---- Manual Page -- http://www.php.net/manual/en/ref.fdf.php Edit -- https://master.php.net/note/edit/76381 Del: integrated -- https://master.php.net/note/delete/76381/integrated Del: useless -- https://master.php.net/note/delete/76381/useless Del: bad code -- https://master.php.net/note/delete/76381/bad+code Del: spam -- https://master.php.net/note/delete/76381/spam Del: non-english -- https://master.php.net/note/delete/76381/non-english Del: in docs -- https://master.php.net/note/delete/76381/in+docs Del: other reasons-- https://master.php.net/note/delete/76381 Reject -- https://master.php.net/note/reject/76381 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#128416) next »