variables - Show text under img file with php echo -


someone can tell me how change code show variables in link:

echo '<a href="download.php?q='.$title.'"><img src="'.$img.'" /></a>'; 

this shows img file want under img show title text. try this, don't work:

echo '<a href="download.php?q='.$title.'">'.$title'</a>'; 

you forgot ending dot.

replace

echo '<a href="download.php?q='.$title.'">'.$title'</a>'; 

with

echo '<a href="download.php?q='.$title.'">'.$title.'</a>'; 

Popular posts from this blog