1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Php code issue

Discussion in 'PHP' started by mojo142, Dec 14, 2009.

  1. mojo142

    mojo142 New Member


    here in the attachment i have put the original link and php code by me please take a look and let me know what is wrong. I am not able to post that thing due to links in it so please just take a look.

    Hi this is the code of php which i am using





    But this is not working. Anything wrong here?
  2. shabbir

    shabbir Administrator Staff Member

    Moved your attachment code into post
  3. venami

    venami New Member

    The echo statement should be like below:
    echo "value=http://www.abc.com/page/$url";
    You have wrongly used the double quotes. There are three double quotes in your echo statement instead of 2.
    Last edited: Dec 15, 2009
  4. ManzZup

    ManzZup New Member

    i thnk hez rite but in case you are trying to assagn a value to a control like a button

    <input type="button" value="<?php echo "http://www.abc.com/page/" .$url ?>" />

Share This Page