PHP Question ?

Discussion in 'Programming' started by SEO_PRO, Aug 28, 2008.

  1. #1
    Guys,

    I have a php script. and the problem that i am facing is that i have updated a few links in the footer file now. when i try to change them in the admin panel in desgin mode it hangs.

    the code that i have applied are simple links and with " | " in between them .... now it doesn't let me change anything . Just stops responding when i open the footer , otherwise all the othe files work just fine


    What could be the problem really appericiate a good solution


    regards
     
    SEO_PRO, Aug 28, 2008 IP
  2. Karin_Elliott

    Karin_Elliott Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hard to say without some code provided, but my guess is missing quotes or semicolon. Your links should look something like: echo '<a href="myfirstlink" >myFirstLink</a> | <a href="mysecondlink" >mySecondLink</a>';

    If you're using a variable for the anything, that will be handled a with the concatenation operator. For example,
    echo '<a href=" . $myfirstlink . ' ">Name of First Link</a> | <a href=" ' . $mysecondlink . ' ">Name of Second Link</a>';

    Hope that helps and good luck!
     
    Karin_Elliott, Aug 28, 2008 IP