Results 1 to 3 of 3

Thread: create hyperlink with variable in it

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2003
    Posts
    419

    create hyperlink with variable in it

    Hello, how can I make php display a hyperlink with a variable in it? Pretty much I want to define
    $str_folder = "test"
    $str_file="filename"

    Then display the hyperlink as:

    http://www.website.com/uploads/{test}/{filename}
    Last edited by LostAngel; Jul 10th, 2008 at 03:18 PM.
    Code:
    If LostAngel.Tag = "Programming" then
       LostAngel.Caption = "Awake"
    Else
       LostAngel.Caption = "Dreaming of Code"
    End If

Posting Permissions

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



Click Here to Expand Forum to Full Width