Grow your CSS skills. Land your dream job.

Quotes are creating conflict in HTML form

  • # May 9, 2012 at 5:19 am

    I am working on Google Infographics API and trying to create a QR code application in PHP. My source file is this:

    < ?php
    $base = “https://chart.googleapis.com/chart?”;
    echo $base;
    echo “






    ?>

    Now in the placeholder of chl the text is What’s on your mind there is a quote which is creating problem with other quotes. How do I manage it?

    # May 9, 2012 at 5:24 am

    Something messed up here. the code is here : http://pastebin.com/mUnDD5tU

    # May 9, 2012 at 6:55 am

    Replace the single quote with a backslash quote is all that’s needed:

    # May 9, 2012 at 7:31 am

    Already tried that, doesn’t works. The placeholder is showing What

    # May 9, 2012 at 8:19 am

    Have you tried using & # 3 9 ;: (sans spaces)

    # May 9, 2012 at 8:48 am
    # May 10, 2012 at 10:45 am

    why is there a break after your php open?


    < ?php
    $base = "https://chart.googleapis.com/chart?";
    echo $base;
    echo "





    "
    ?>

    Not sure if that is causing a problem, but doesn’t make sense

    # May 10, 2012 at 8:34 pm

    should be causing a problem.

    If you don’t see a problem due to that, then you need to do

    error_reporting( -1 );

    at the top of your file, so PHP will point out problems like that. That way, you don’t have to guess (and we don’t either). : )

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".