Results 1 to 2 of 2

Thread: Help with passing Variables in this link

  1. #1
    Join Date
    Oct 2008
    Posts
    3

    Help with passing Variables in this link

    Iím trying to create a link on a members blog posts by pulling two fields from their profile.
    1st Field: Website Name
    2nd Field: URL to website

    I was trying the following code but it donít work.

    PHP Code:
    <a href="<?php echo xprofile_get_field_data'Your Website URL'get_the_author_meta'ID' ) ); ?>"><?php echo xprofile_get_field_data'Your Website Name'get_the_author_meta'ID' ) ); ?></a>
    Note: Alone each code does work in calling the right information. Can anyone point me in the right direction

  2. #2
    Join Date
    Oct 2008
    Posts
    3
    OK I figured this out sort of. The link being echoed is coming from a URL form field and it is already a Hyperlink. I assume this is messing everything up when I try to create a link using it. Anyway I can call the Website URL and only return plain text?

Similar Threads

  1. Passing Flash Variables
    By SlayersOtaku in forum Graphic Design
    Replies: 1
    Last Post: 20 Mar 2010, 05:02 PM
  2. need help passing option value to hidden value
    By ld1084 in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 14 Aug 2009, 06:47 AM
  3. Passing Variables (php to js to php)
    By aazad in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 02 Oct 2008, 08:56 PM
  4. Passing External Values To Variables In An XSL Stylesheet
    By Streakfury in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 22 Jan 2006, 08:42 PM
  5. Passing JS Variables From HTML to a .JS file
    By DankaShine in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 21 Jul 2005, 06:32 AM

Tags for this Thread

Posting Permissions

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