Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2006
    Location
    South Central, KS
    Posts
    81
    Thanks
    2
    Thanked 2 Times in 2 Posts

    Breaking into a string

    Ok, i don't know Coldfusion but i need to write an example for a client on how to do something. i've managed to find almost everything i need except how do i break out of HTML and inject somthing CF

    in ASP i would do like this

    <a href="/url.asp?a=<%=something()%>">click me</a>

    PHP
    <a href="/url.php?a=<?=something();?>">click me</a>

    how do i do it in CF??

    TIA

  • #2
    New Coder
    Join Date
    Jan 2006
    Location
    South Central, KS
    Posts
    81
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Never mind, i found it.

    Quote Originally Posted by voxecho View Post
    Ok, i don't know Coldfusion but i need to write an example for a client on how to do something. i've managed to find almost everything i need except how do i break out of HTML and inject somthing CF

    in ASP i would do like this

    <a href="/url.asp?a=<%=something()%>">click me</a>

    PHP
    <a href="/url.php?a=<?=something();?>">click me</a>

    how do i do it in CF??

    TIA


  •  

    Posting Permissions

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