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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You need to use code tags every time you post code else I can't see it.
You also need to post code I can run that shows your problem.
Try writing a basic page that doesn't do anything with your database, that runs standalone and demonstrates your problem. Then share this page and pdf and people can use it to help you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 fortag?. I can share the code if needed. But plz suggest me on this
no one has got this problem??????
The html has been stripped by the message board so we don't even know what your problem is.
Please provide the minimum amount of code to demonstrate your problem.
I am displaying data from database in table format like this
But my product description is stored with
tags.while displaying i get some extra space between these 2 paragraphs like in attached file
Where i can correct it? can u please suggest?
Last edit: Michelle Mike 2017-09-08
@Simon: I have provided the code, still no support?
I was suggesting your provide code that shows your fault, that I can run. I can't see your generated code when you use db variables.
However it seems you have a field with html that ruins your layout?
Have you tried using PHPs strip_tags()?
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.You need to use code tags every time you post code else I can't see it.
You also need to post code I can run that shows your problem.
Try writing a basic page that doesn't do anything with your database, that runs standalone and demonstrates your problem. Then share this page and pdf and people can use it to help you.