Query help needed

Discussion in 'PHP' started by Gnet, Jul 11, 2008.

  1. #1
    Heres the basic query in wordpress

    define('WP_HOME', 'http://domain.com');

    And here is the valuie defined

    $value['property1'] = 'http://domain2.com';


    how do i add the value as a query into the basic wp query?

    like this?

    define('WP_HOME', '$value['property1']');


    a little help please
     
    Gnet, Jul 11, 2008 IP
  2. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #2
    define('WP_HOME', $value['property1']);
     
    Danltn, Jul 11, 2008 IP