E
E
eellazy2015-10-01 23:17:35
PHP
eellazy, 2015-10-01 23:17:35

How to make a button?

Hello everyone, how can I make a registration confirmation button?
I wrote this code

<p style="padding-top: 10px;"><a style="color: #fff; padding: 10px; background: #3DC697; border-radius: 5px; text-decoration: none; font-size: 13px; font-weight: 700;" href="{VALIDATION_LINK}">Подтвердить сейчас</a></p>

How everything should work. But!!!
{VALIDATION_LINK} - a function of a random link for confirmation that the engine generates.
But when a letter arrives, I get just such a picture. It turns out that the function is not allowed to be used as a link or what?
ba290c0238964187b6bb1f29dadd4e8d.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mr Crabbz, 2015-10-01
@Punkie

It's just that most likely you have a link code generated by {VALIDATION_LINK}, including the < a > tag. This can be seen from the displayed > in front of "Confirm now".

R
Roman, 2015-10-02
@olmerlv

Comrade, they are trying to explain to you that {VALIDATION_LINK} already contains the A tag, which, as it were, is not correct in terms of the functionality that you want to get.
If possible, rewrite the function that creates your {VALIDATION_LINK} to be Plain Text. Then your rules will work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question