I want to display an image on background (by using CSS repeat) the same way as on Twitter but the problem is that I am retrieving it from a MySQL database and CSS cannot handle
You cannot repeat so for that you need to use CSS in your PHP document, you can do it like
Either you can do is
Make a stylesheet with a .php extension.
.php
Than
At the top of the page mention this
Now you can set variables accordingly