473,403 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Dompdf

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
2 3847
Markus
6,050 Expert 4TB
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
5,058 Expert 4TB
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

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: shrini | last post by:
Friends. I am doing a billing application for a shop. There, the bills should be generated as pdf for printing. The users inputs the data via forms and data is stored in MySQL table. I dont...
2
by: syam | last post by:
hello... how do i convert html page into a pdf . i am using php and mysql
2
by: femtox77 | last post by:
Hello NG! A little question, what i can use dompdf via command line? The syntax is: $ php -f dompdf.php -- Can any explain me the meaning and the usage? I must pass a file .htm Thanks to...
7
by: chandoo | last post by:
Is there any chance of converting, php files into pdf dynamically,i need it urgently,can any body help me! With snippets of code or by url or by sending files? thank u with Regards.............
0
by: Mark Tempe | last post by:
Hello, I've been trying to get Polish characters in my pdf which is generated using dompdf class... Well, I've got them finally, but they aren't displayed correctly. I know that it is a problem...
1
by: Anees | last post by:
Hi, I hav created a newsletter creator, that will will the out put as a PDF to the user User can select some articles with one template And we will merge the articles with templates to...
4
by: Raj Kumar | last post by:
Hi i used fpdf class for html to pdf converter. I generated pdf but it shows without style sheet implementation and gif images are not show in generated PDF how to solve gif imge error...
4
mikek12004
by: mikek12004 | last post by:
In some cases I have heard that sites provides buttons with which a user can print, email or save as PDF the current page I assume this is done with javascript anyone knows how?
3
by: DevInCode | last post by:
Hi, I'm trying to use this class to put a table into a pdf. When I copy and paste the demo I get a pdf with a table of 5 rows (as the data array is 5x3) but the cells have nothing in them. Is...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.