www.webdeveloper.com
Results 1 to 4 of 4

Thread: HTML inside email validation

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    78

    HTML inside email validation

    How can I integrate HTMl and a link ( URL www.mysite.com ) after a PHP print statement.

    After an email has been validated, I want to include a link to a different page, AFTER I have put a message on their screen.

    Like this:

    PHP Code:
    if($hashed == $_REQUEST['m']) {
        print(
    "Congrats, <b>$name</b>  you are successfully ."); 
    IS it possible to put some HTML formatting HERE ?

    Now I want to say CLICK HERE & send them to www.mysite.com

    Thanks

  2. #2
    Join Date
    Apr 2013
    Posts
    56
    Code:
    print("Congrats, <b>$name</b>  you are successfully . <a href='www.mysite.com'>CLICK HERE</a>");
    ?

  3. #3
    Join Date
    Apr 2012
    Posts
    38
    You could also use the following HTML code to have them automatically redirected:

    Code:
    <meta http-equiv="refresh" content="3;URL=http://www.domain.com/" />
    This would redirect the visitor to www.domain.com after 3 seconds.

    To simply answer your question: yes you can use the full HTML formatting in this command.

  4. #4
    Join Date
    Jan 2007
    Posts
    78
    Thanks for all the help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles