364,111 Members | 2127 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

Dompdf

santhu76
P: 2
still facing the problem with dompdf.table is breaking...

here is the code

Expand|Select|Wrap|Line Numbers
  1. <table width="100%" cellpadding="0" cellspacing="0" border="0">
  2. for ($i=0;$i<50;$i++)
  3. {
  4.     <tr>
  5.  
  6.         <td width="20%" >Balanced Decision Making
  7.         </td>
  8.         <td width="80%">
  9.             <table  width="100%" cellpadding="0" cellspacing="0" border="1" class="collapse">
  10.             <tr>
  11.                 <td width="90%" >Tell me about a time where you have had limited time to take a critical decision. What were the influencing factors during this time?</td>
  12.                 <td width="10%">&nbsp;</td>
  13.             </tr>
  14.  
  15.             </table>
  16.         </td>
  17.  
  18.     </tr>
  19. }
  20. </table>
Oct 14 '08 #1
Share this Question
Share on Google+
2 Replies


Markus
Expert Mod 2.5K+
P: 4,422
You've posted this question before? Your post count informs me you've only posted once (this post).

Please use [code] tags when posting code.

Also, this falls under the 'crappy post' rule. You have to be as informative as possible.

Markus.
Oct 14 '08 #2

Atli
Expert Mod 2.5K+
P: 4,459
Hi.

You are mixing your PHP code with the HTML.
PHP code needs to be enclosed in <?php ... ?> tags to be read as PHP code.
Oct 14 '08 #3

Post your reply

Help answer this question



Didn't find the answer to your PHP question?

You can also browse similar questions: PHP