SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Jul 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    div within div elements write in pdf using php

    Hi friends,


    <?php
    for($i=0;$i<$count;$i++)
    {
    ?>
    <div style="position:relative;border:solid 0px black;width:600px;height:230px;top:5px;">
    <div id='dt' style="position:relative; top? echo $dty-400; ?>px; left? echo $dtx; ?>px; text-align:left;" name=dt><?php echo $dat[$i]; ?></div>

    <div id='pay' style="position:absolute; top? echo $payy-400; ?>px; left? echo $payx; ?>px;width:300px;" name=pay><?php echo $pay[$i]; ?></div>

    <div id='amt' style="position:absolute; top? echo $amty-400; ?>px; left? echo $amtx; ?>px;width:100px; text-align:right;" name=amt><?php echo $amt[$i]; ?></div>

    <div id='amtinwords' style="position:absolute; top? echo $amtwordy-400; ?>px; left? echo $amtwordx; ?>px;text-decoration:underline; width:450px; text-align:left;" name=amtinwords><?php echo $aword[$i]; ?></div>

    <div id='address' style="position:absolute; top? echo $addy-400; ?>px; left? echo $addx; ?>px;height:65px; width:160px; text-align:left;" name='address'><?php echo $add[$i]; ?></div>

    </div>
    <?php
    }
    ?>

  2. #2
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you asking a question here?

  3. #3
    SitePoint Member
    Join Date
    Jul 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I have div within div elements. how div elements write in pdf

  4. #4
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need a pdf generator or know the pdf format and generate it yourself.

    Better to get a pdf generator.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •