Urls in php

Hi, need help.

“t4” is from the undersides of the domain. I want to call sub-pages found via a link.

When I click on link output, then it leads to Home _http: / / domain.com /, but should lead to bottom. Sun: _http: / / domain.com / bottom <- (t4-output)

echo "<div> href='http://domain.com/'>". $ st ['t4']. "</ a> </ div>";

Why “t4” is not added in link?

You are not adding the t4 to the actual link just echoing it out to print


echo "<div> <a href='http://domain.com/".$st['t4']." '>". $st['t4']. "</ a> </ div>";