- function BuildTable($data)
-
{ //int WordWrap($row, 15)
-
-
if(isset($_REQUEST['ByPart']))
-
{
-
$w=array(30,30,40,30,20,20);//column heading size
-
}
-
elseif(isset($_REQUEST['CCred']))
-
{
-
$w=array(35,60,20,30,25,23);//column heading size
-
}
-
elseif(isset($_REQUEST['AcctRep']))
-
{
-
$w=array(40,60,35,30,20);//column heading size
-
}
-
else
-
{
-
$w=array(40,50,30,30);//column
-
}
-
//Color and font restoration
-
$this->SetFillColor(200,224,200); // column colour alternate
-
$this->SetTextColor(0);
-
$this->SetFont('');
-
//now spool out the data from the $data array
-
$fill=true; // used to alternate row color backgrounds
-
-
foreach($data as $row)
-
{
-
-
$this->SetTextColor(0);
-
$this->SetFont('Times','',7);
-
for($j=0;$j<count($row);$j++)
-
$this->Cell($w[$j],5,$row[$j],'LR',0,'C',$fill);
-
$this->Ln();
-
$fill =! $fill;
-
}
-
$this->Cell(array_sum($w),0,'','T');
-
}
I want to wrap the data from mysql but its no use can anyone helo me?
0 1024 Sign in to post your reply or Sign up for a free account.
Similar topics
by: ASzasz |
last post by:
I am new to VB .NET: I can configure a SQL adapter and access data via the
datagrid. But how do you access and manipulate data if you do not require the
data to show up on a form. I simply want to...
|
by: asadikhan |
last post by:
Hi,
I am trying to use a datalist to edit data in a MySql database as
follows. For now I just want to be able to get the changes to be made
on the dataset. Here is my code:
using System;...
|
by: BillE |
last post by:
What is the best way to add data using a DataGridView in a multi-tier
application (data entry is handled in a data access layer using stored
procedures)?
Thanks
Bill
|
by: STEPHENSS |
last post by:
Hi,
I have a crystal report that has many subreports over many pages and Iam getting the following error
Unable to save data with report, the save data is incomplete generate the saved data Yes...
|
by: shwethatj |
last post by:
Can anyone please help me.....
In Crystal Reports , how to access data using PULL method ..
I have got a table in server explorer which has 3 got fields. But i dont know how to access it and...
|
by: amollokhande1 |
last post by:
Hi All,
I am using Sql server 2005 as a backend for my application. I want to read/write the unicode data using sql query.
When I am using
insert into UnicodeData values('سي') command and...
|
by: blackirish |
last post by:
Hi all,
i am trying to write a program which takes a regular expression and generate data according to that expression. I know it's possible because there are such programs to manage this task. Do...
|
by: gouse |
last post by:
Hi All,
I am using libpq 'C' interface to connect to the PostgreSQL database. The encoding of Database is UTF8 and it also contains a table with UNICODE data. By using PQconnectdb() I have made a...
|
by: milan12 |
last post by:
Hello Everyone,
I am doing a project where i need to develop a C# windows application. I need to receive data in my laptop (windows 7) using BLED 112 Dongle from NRF 8001 which is Bluetooth Low...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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...
|
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...
|
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...
|
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |