Jump to content

AyRestaurant

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

Everything posted by AyRestaurant

  1. here are a couple of website examples: http://www.pdfmerge.com/# http://www.pdfmerger.org/en/ is this simple or difficult coding?
  2. IS THERE A WAY FOR A OPTION TO SELECT WHICH PDFS TO SHOW WITH THE FPDI FUNCTION? THIS IS THE REGULAR CODE: $pdf->AddPage(); // set the sourcefile $pdf->setSourceFile('h.pdf'); // import page 1 $tplIdx = $pdf->importPage(1); // use the imported page and place it at point 10,10 with a width of 100 mm $pdf->useTemplate($tplIdx, 0, 0, 0); Is there a way to make this $pdf->setSourceFile('h.pdf'); a option for users who visit the website. For example: have - $pdf->setSourceFile('h.pdf'); & $pdf->setSourceFile('g.pdf'); - then let the visitor select which one to include in the pdf via fpdi. I would prefer something like a input. Any ideas?? or something similar??? Help is very much appreciated!!
  3. I want to do this: Edit some text and click submit - for html to $_post the info into a FPDF file... im stuck here: <?php require('fpdf.php'); $pdf=new FPDF(); $pdf->AddPage(); $pdf->SetFont('Arial','B',16); $pdf->Cell(40,10,'Hello World!'); $pdf->AddPage(); $pdf->Cell(60,10,'Powered by FPDF.',0,1,'C'); $pdf-> Output(); ?> how can I add a $_POST attribute? If I do, it gives an error.. plzz helpp
  4. someone told me to do this: <script type="text/javascript"> function showHidden(id) { alert( document.getElementById(id).value ); //Sorry, yahoo was cutting it off } </script> onclick call this function and send it the id of the hidden input. for example if you had <input type="hidden" id="h" value="show me" /> then your call should look like this <input type="button" value="click me" onclick="showHidden('id')" /> but it does not work... help
  5. Hey, Thanx for responding. I want a non visible to be visible. I actually have this: <input type="hidden"> Is it posibble to make it visible with a button click? Or is there any other way to do something similar? Thanx a lot!
  6. I have this input that is hidden ---- I want to have this type="button" (AFTER CLICK) so it that shows that hidden field... any ideas?
  7. I want to add this button that says "save as pdf" but obviously dont want that button to appear on the pdf. So is there a way to only save like "parameters" of the page as a pdf document? Ex. Invoicebubble - when editing the invoice any coding ideas??? php, ajax, java???
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.