$\vec{\nabla} \cdot (\phi\vec{A}) = (\phi\vec{\nabla}) \cdot \vec{A} + \phi(\vec{\nabla}\cdot\vec{A})$
But what is the difference between $(\phi\vec{\nabla}) \cdot \vec{A}$ and $\phi(\vec{\nabla}\cdot\vec{A})$ ?
I cannot get that. They are different, but when I try to work it out, they both becomes the same.
Please state the difference between the above two quantities and please provide an example.
I am in my First Semester of Physics Undergrad course.
I am not familiar with the notation you are using, but it is clear to me that $\phi \nabla$ is meant to be the derivative of $\phi$. If one uses einstein notation, we can see that the given equation should follow from just the 1D product rule you are familiar with, $$ \partial_i (\phi A_i) = \partial_i\phi A_i + \phi(\partial_i A_i) $$
Since clearly $\partial_iA_i = \nabla\cdot A$, we are forced to conclude that $\partial_i \phi = \phi \nabla$.
Note that this is distinct from the term in (say) the material derivative, which in coordinates is
$$ [(u\cdot \nabla) u]_i = u_j\partial_ju_i$$
user470992 has kindly requested a computed example with the functions $$A = \begin{pmatrix} 3xyz^2 \\ + 2xy^3\\ - x^2yz \end{pmatrix}$$ and $\phi = 3x^2 - yz$ ; calculating $\nabla \cdot ( \phi \vec{A}) $ at $p=(1,-1,1)^T$ : $$\nabla \phi|_p = \left.\begin{pmatrix} 6x \\-z\\-y \end{pmatrix}\right|_p = \begin{pmatrix} 6 \\-1\\1 \end{pmatrix} \\ \nabla \cdot A|_p = (3yz^2+6xy^2-x^2y)|_p = -3+6+1=4$$ This gives $ 6(-3) + (-1)(-2) + 1(1) + 4(4)=-15+16 = 1$.