Question : Populate an existing PDF form from PHP/MySQL recordset

Populate an existing PDF form from PHP/MySQL recordset

I know about FPDF and the like, but I don't want to have to re-create this form

http://www5.esc13.net/pdas/docs/forms/ObservationSummary.pdf

I already have a PHP script that pulls the recordset with the data I need.

How can I populate the existing PDF? I don't mind a good commercial product if that's what it takes.

Thx!

Answer : Populate an existing PDF form from PHP/MySQL recordset

save you a search...

again though, this is for Oracle only

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
CREATE OR REPLACE TYPE  VCARRAY AS TABLE OF VARCHAR2(4000);

CREATE OR REPLACE FUNCTION str2tbl(p_string IN VARCHAR2, p_delimiter IN VARCHAR2 := ',')
        RETURN vcarray PIPELINED
    AS
        v_length   NUMBER := LENGTH(p_string);
        v_start    NUMBER := 1;
        v_index    NUMBER;
    BEGIN
        WHILE(v_start <= v_length)
        LOOP
            v_index    := INSTR(p_string, p_delimiter, v_start);

            IF v_index = 0
            THEN
                PIPE ROW(SUBSTR(p_string, v_start));
                v_start    := v_length + 1;
            ELSE
                PIPE ROW(SUBSTR(p_string, v_start, v_index - v_start));
                v_start    := v_index + 1;
            END IF;
        END LOOP;

        RETURN;
    END str2tbl;
Random Solutions  
 
programming4us programming4us