Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
497 views
in Q2A Core by

Hi !!

I have a problem with this custom syntaxis in qa-theme.php:

$this->output('<a hrf="http://mywebsite/"echo $_SERVER["REQUEST_URL"];">MyTextLink</a>')

(This sintaxis print in the link website address that i am visiting now..)

WHERE IS THE ERROR IN MY SyNTAXIS, PLEASE PLEASE PLEASE FRIENDS????

THANK YOU VERY MUCH!!!!!

1 Answer

0 votes
by
try this:

$this->output('<a href="http://mywebsite.com/'.$_SERVER["REQUEST_URL"].'"> MyTextLink</a>');
by
Hi "answered",

Syntaxis fail again, your example not work, there is an error of syntaxis, any idea, please?
Thanks friend!!
by
I thinks is an error of : "" or '', i did tried all combination, but not work...
what can i do??
by
code is correct. maybe $_SERVER['REQUEST_URL'] is omitted in your server

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

Categories

...