Good Morning to the one who will read this.
Is that exact that PHP parses a page from the top to
the bottom of the source only?
I am accessing a mySql database in my page and this code HAS to be situated in the bottom of the page.
But I want to have an image changed according to the data coming from the database. The only one problem us that this image is situated on the top of the page.
Is there a way to eradicate this problem?
I'm thinking of using a javascript function triggered by the database in order to swap the image source, but I guess there is a "safer" and better solution with php only.
Thanks a lot for you support.
Have a nice day!!!!!!!!!!!
Is that exact that PHP parses a page from the top to
the bottom of the source only?
I am accessing a mySql database in my page and this code HAS to be situated in the bottom of the page.
But I want to have an image changed according to the data coming from the database. The only one problem us that this image is situated on the top of the page.
Is there a way to eradicate this problem?
I'm thinking of using a javascript function triggered by the database in order to swap the image source, but I guess there is a "safer" and better solution with php only.
Thanks a lot for you support.
Have a nice day!!!!!!!!!!!