![]() |
Concatenation question
I am trying to concatenate with a link. I want to take the variable $link which has the string http://www.url.com/ stored within it to that I want to concatenate something.php I want to try to do this inside of a hyperlink. I have tried many things. The following seems to be the closest I have gotten:
<a href=\"$link . \"createproject.php\"\"> But this doesn't work. I have tried quite a few ways, and I understand how to concatenate just strings, but I can't figure this out. Please help me!!!! :confused: :confused: :confused: :confused: :confused: |
Provided you've already run $link through htmlspecialchars_uni() for security:
PHP Code:
HTML Code:
<a href="{$link}createproject.php">...</a> |
awesome, thanks alot. That worked like a charm.
|
All times are GMT. The time now is 11:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|