473,395 Members | 1,554 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,395 software developers and data experts.

how to display loop in mpdf file in

1
Expand|Select|Wrap|Line Numbers
  1. <td height="43" align="center" width="32%" style="background-color:#E1E2D8; border-right:1px solid #AEB9C2; border-bottom:1px solid #AEB9C2; border-left:1px solid #34546E; font-size:12px"><strong>Year</strong></td>
  2.     <td align="center" width="35%" style="background-color:#E1E2D8; border-right:1px solid #AEB9C2; border-bottom:1px solid #AEB9C2; font-size:12px"><strong>Age</strong></td>
  3.     <td align="center" width="35%" style="background-color:#E1E2D8; border-right:1px solid #608AAC; border-bottom:1px solid #AEB9C2; font-size:12px"><strong>Age</strong></td>  </tr>';
  4.  
  5.    for($i=0; $i<10; $i++)
  6.     { 
  7.     print_r $no == 1; 
  8.    $html.='<tr>
  9.    <td style="border-bottom:1px solid #d1d1d1; border-left:1px solid #34546E; border-right:1px solid #d1d1d1;" height="35" ><div align="center">'.$i + 2016.'</div></td>
  10.   <td style="border-bottom:1px solid #d1d1d1; border-right:1px solid #d1d1d1;"><div align="center">'.$z1 = $i + $diff1.'</div></td>
  11.      <td style="border-bottom:1px solid #d1d1d1; border-right:1px solid #608AAC;"><div align="center">'.$z2 = $i + $diff2.'</div></td>
  12.   </tr>';
  13.           }
  14.  
  15.  
  16.  $html1 .= '</table>
Apr 7 '16 #1
1 2149
Dormilich
8,658 Expert Mod 8TB
that’s not an mPDF file.
Apr 8 '16 #2

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

Similar topics

5
by: Victor | last post by:
Hi I need to open an html file from the file system and embed that html file within my main aspx form. I have 2 questions: 1) How do I open the html file? I tried the File.open(Path, mode) didnt...
3
by: Jenny | last post by:
Hi, I want to use a button to display a pdf file. I have Windows 2000 server, IE 6 and Acrobat 7 with plug-in. I can use <a> link to display it. I search this group for js code but they...
3
by: jiayanxiang | last post by:
Is there any sample code to use Javascript to load and display a text file? It will be best if the user can select files using some kind of explorer. If that's complex, a text box to specify the...
3
by: Chris Saunders | last post by:
May be a dumb question but I have been unable to find the answer on my own. I wish to display a help file (*.chm) can anyone help? I attempted using "displaying help file" as a search in MSDN but...
1
by: msiddiqui | last post by:
Hi, I am Mahmood Alam Siddiqui please help me. i am facing some problem for display MS Word file in jsp so please have you any solution for this please send me at "msiddiqui@xavient.com" one...
11
by: nickyeng | last post by:
I have a html file contains a form asking user to select a choice and press enter to pass the data to server. In server there, i have a cgi script(C language) that accepts the input from browser...
1
by: 848lu | last post by:
PHP - display from txt file with explode function hi, i am trying to display all data from a txt file with a function of explode but does not work..... <? #reads a text file outputs it to...
9
by: tomhawkins1 | last post by:
Hi I currently have a site where users can upload files. These files can be doc, wmv, jpeg, xls, dwf, dwf and dwg. These files are uploaded to /home/**user**/uploads and not /home/...
3
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
I have a asp.net app, in the page there is a scan activex which could scan and save a jpg file in client harddisk. How could we access and display this jpg file on the fly using js in the client...
4
by: kkshansid | last post by:
what is the best way to display a word file on a php page in the same format as it is on word format ? word file has some very well diplay of data in tabular format php page has includes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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...

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.