My problem area is $row['description'], here i display description with html tags. Only for tags, its is taking huge space between each para. So if i use strip_tags(), even the tags doesn't work.
@Simon: I have provided the code, still no support?
I am displaying data from database in table format like this $pdf->SetMargins(8,27,8); $pdf->SetHeaderMargin(5); $pdf->SetFooterMargin(7); function fetch_data() { $output = ''; include('../connect.php'); // $sql = My sql query to extract data; $query = mysqli_query($con, $sql) or die (mysqli_error($con)); $total_amt = 0; $tax_amt = 0; $i=1; while($row = mysqli_fetch_array($query)) { $output .= '<tr> <td>'.$i.'</td> <td>'.$row["product"].' - '.$row['description'].'</td> <td>'.$row["code"].'</td> <td>'.$row["quantity"].'...
I am displaying data from database in table format like this $pdf->SetMargins(8,27,8); $pdf->SetHeaderMargin(5); $pdf->SetFooterMargin(7); function fetch_data() { $output = ''; include('../connect.php'); // $sql = My sql query to extract data; $query = mysqli_query($con, $sql) or die (mysqli_error($con)); $total_amt = 0; $tax_amt = 0; $i=1; while($row = mysqli_fetch_array($query)) { $output .= '<tr> <td>'.$i.'</td> <td>'.$row["product"].' - '.$row['description'].'</td> <td>'.$row["code"].'</td> <td>'.$row["quantity"].'...
I am displaying data from database in table format like this $pdf->SetMargins(8,27,8); $pdf->SetHeaderMargin(5); $pdf->SetFooterMargin(7); function fetch_data() { $output = ''; include('../connect.php'); // $sql = My sql query to extract data; $query = mysqli_query($con, $sql) or die (mysqli_error($con)); $total_amt = 0; $tax_amt = 0; $i=1; while($row = mysqli_fetch_array($query)) { $output .= '<tr> <td>'.$i.'</td> <td>'.$row["product"].' - '.$row['description'].'</td> <td>'.$row["code"].'</td> <td>'.$row["quantity"].'...
I am displaying data from database in table format like this $pdf->SetMargins(8,27,8); $pdf->SetHeaderMargin(5); $pdf->SetFooterMargin(7); function fetch_data() { $output = ''; include('../connect.php'); // $sql = My sql query to extract data; $query = mysqli_query($con, $sql) or die (mysqli_error($con)); $total_amt = 0; $tax_amt = 0; $i=1; while($row = mysqli_fetch_array($query)) { $output .= '<tr> <td>'.$i.'</td> <td>'.$row["product"].' - '.$row['description'].'</td> <td>'.$row["code"].'</td> <td>'.$row["quantity"].'...
I am displaying data from database in table format like this $pdf->SetMargins(8,27,8); $pdf->SetHeaderMargin(5); $pdf->SetFooterMargin(7); function fetch_data() { $output = ''; include('../connect.php'); // $sql = My sql query to extract data; $query = mysqli_query($con, $sql) or die (mysqli_error($con)); $total_amt = 0; $tax_amt = 0; $i=1; while($row = mysqli_fetch_array($query)) { $output .= '<tr> <td>'.$i.'</td> <td>'.$row["name"].' - '.$row['description'].'</td> <td>'.$row["hsn_sac"].'</td> <td>'.$row["quantity"].'...
no one has got this problem??????
I am generating an invoice with the values from database. Product drecription is stored with html tags, in that tag is also included. When i generate data in table, whereever i have tags its leaving very much space. Is there anywhere i can decrease this space(line height only for tag?. I can share the code if needed. But plz suggest me on this