#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Posts
    16
    Rep Power
    0
    Ok here is my really dumb question.

    How do you get this to work:

    <a href="<?echo "$URL";?>">Click here</a><br>

    becuase for me PHP processes to this:

    <a href="">Click here</a><br>

    I persume it is becuase I am improperly nesting quotation(") within quotation(")

    This seems like it must be vry simple and I'm over looking something. I have tried it many differnt ways and I can seem to get it to work.

    Any info would be greate.

    Thanks
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    18
    If you NEEDED quotes around $URL you could use single quotes or escape the double quotes with

    however, you don't need quotes around $URL in this instance. Just drop them.

Similar Threads

  1. Is there such thing as a dumb question?
    By dvda in forum Dev Shed Lounge
    Replies: 0
    Last Post: February 15th, 2004, 05:40 PM
  2. PHP data retrieval question with MySQL
    By gursharn in forum PHP Development
    Replies: 7
    Last Post: December 31st, 2003, 09:43 AM
  3. dumb question
    By zayin7232 in forum Perl Programming
    Replies: 4
    Last Post: December 29th, 2003, 06:38 AM
  4. Radio Buttons
    By Ulysses Freeman in forum HTML Programming
    Replies: 4
    Last Post: November 15th, 2003, 09:57 PM

IMN logo majestic logo threadwatch logo seochat tools logo