Call php function using html href -
i searching hours today , can not find solution. here phpfuntion inside of html href, uses explode php-build-function split email , chars after @.
<a href='<?php echo afterchar('@',$nazwa_uz_l); ?>'>log in <?php afterchar('@',$nazwa_uz_l); ?></a> while click link goes localhost/gmail.com instead of gmail.com. should do?
try this
<a href='http://<?php echo afterchar('@',$nazwa_uz_l); ?>'>log in <?php afterchar('@',$nazwa_uz_l); ?></a> the url relative if there's no protocol (http://) leading url.
Comments
Post a Comment