i am getting no where with the checkboxes...i am basically doing a str_replace into a rtf document now, as i had problems using pdf, each time i tried i was getting 'error in document'
here is the code
$box1=ImageCreateFromPNG('checked.PNG');
$box2=ImageCreateFromPNG('unchecked.PNG');
// replace the place holders in the template with our data
$output = str_replace( '<<NAME>>', $name, $output );
$output = str_replace( '<<box1>>',$box1, $output );
$output = str_replace( '<<box2>>', $box2, $output );
$output = str_replace( '<<mm/dd/yyyy>>', $date, $output );
// send the generated document to the browser
// or change all 1's to checked boxes, and all zero's to unchecked boxes
echo $output;
all i want to do is find bring all the checkboxes data from the database, a mix of 1's and 0's and then substitute the 1's for a checked image, and the 0's for an unchecked image...
thanks in advance