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 5 of 5
  1. #1
    New Coder
    Join Date
    May 2005
    Location
    NY
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    double link for php include?

    hi, i'm doing somethign where when a button is clicked it includes two diferent things... i got everything handled except one thing. in html how do i make a link that has two links? for example: i've got href="index.php?f=home.php" as the link, i want it to ALSO link to t=/images/main-image.jpg when the link is clicked.

    i hope this is possable...
    Last edited by spoofm0nkey; 08-29-2005 at 06:27 AM.
    Scientology
    www.sneakyweaselstudios.com
    AIM: spoofm0nkey
    Yahoo: SpoOf_m0nKeY

  • #2
    New Coder
    Join Date
    Aug 2005
    Posts
    54
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Hi,

    <a href="index.php?f=home.php" onclick="window.open('t=images/main-image.jpg' ,'newwin');">click me</a>

    Something like that??

    Cheers

    LiaM

  • #3
    Senior Coder
    Join Date
    Jul 2005
    Location
    UK
    Posts
    1,051
    Thanks
    6
    Thanked 13 Times in 13 Posts
    No, he wants a button that will combine two different strings into one query string by the looks of things, this needs to be asked in the PHP forum.

  • #4
    Regular Coder
    Join Date
    Aug 2004
    Location
    The US of A
    Posts
    767
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Code:
    <a href="index.php?f=home.php&t=images/main-image.jpg">Link Name</a>

  • #5
    Senior Coder
    Join Date
    Jul 2005
    Location
    UK
    Posts
    1,051
    Thanks
    6
    Thanked 13 Times in 13 Posts
    <a href="index.php?f=home.php&t=images/main-image.jpg">Link Name</a>
    I did wonder myself why not just do that. I presumed there must be some sort of reason it wouldn't work for him but couldn't for the life of me work out why not


  •  

    Posting Permissions

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