How can I achieve making words loops without any space between them using for
Here is my code:
function a($var) {
    for ($i = 0; $i < ; $i++)
    {
        echo "a";
    }
}
a(3);
I want it to make loops like:
a(3);
output: aaa
but I get an error saying
syntax error, unexpected ';'
 
    