HTML mail subscriiption error

hello evryone,
I have created a script in php for reading information from mysql and then sending in to the subscribers. Everything works fine and when the subscriber opens an email in outlook exrpess or any other soft or webmail that doesnt format the html code of the email its still ok but when an email is opened in webmail like yahoo or msn everything is messed up all the tables and the text is shifted. I`ve spent a week already on this and cant fix that.
This part of my script:

hello evryone,
I have created a script in php for reading information from mysql and then sending in to the subscribers. Everything works fine and when the subscriber opens an email in outlook exrpess or any other soft or webmail that doesnt format the html code of the email its still ok but when an email is opened in webmail like yahoo or msn everything is messed up all the tables and the text is shifted. I`ve spent a week already on this and cant fix that.
This part of my script:

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

I'm working in Excel to extract content of a table from a web page and populate Excel sheet cells with it. I'm trying to extract data from a table that gets loaded to a web page after show results method gets called. I have an error that says "Run-time error ...