tcpdf writeHTML why are my links not getting included (html to pdf conversion)

Well I know this one because I spent almost an hour just to fix it and I was embarrassed when i realized the solution was so simple Two things that are most important when you are using tcpdf for converting HTML to PDF are Valid HTML Values you passed to the tcpdf functions should be totally understood and you should know what they does ok lets see what the problem is with link In my case if you have a php string like above is valid string but somehow tcpdf with not take single quotes with great pleasure and you will see that even though It will colour "jaspreetchahal.org" part of anchor, when you try to click on that link it takes you nowhere now the solution Just replace single quote with double quotes and vice versa and you're done A clickable link :)   Hope this helps … [Read more...]