echo double quote problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vito

    #1

    echo double quote problem

    google and manual do not say much for printing double quotes in a path case.

    To facilitate your reading (I don't know how to make it colorful in
    newsgroup), i'd appreciate studying the code at:



    thanks in advance!!!

    removing tr, td and using combinations of single and double quotes did not
    solve the problem :(


  • Jerry Stuckle

    #2
    Re: echo double quote problem

    vito wrote:[color=blue]
    > google and manual do not say much for printing double quotes in a path case.
    >
    > To facilitate your reading (I don't know how to make it colorful in
    > newsgroup), i'd appreciate studying the code at:
    >
    > http://appsrv.cse.cuhk.edu.hk/~kkleung/menu.phps
    >
    > thanks in advance!!!
    >
    > removing tr, td and using combinations of single and double quotes did not
    > solve the problem :(
    >
    >[/color]

    Vito,

    First of all, you don't need to "make it colorful" in the newsgroup. Just post
    the code. It's much easier for the rest of us.

    Secondly, I'm not sure what you're expecting for results or how it differs from
    what you're getting.

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • Schraalhans Keukenmeester

      #3
      Re: echo double quote problem

      vito wrote:[color=blue]
      > google and manual do not say much for printing double quotes in a path case.
      >
      > To facilitate your reading (I don't know how to make it colorful in
      > newsgroup), i'd appreciate studying the code at:
      >
      > http://appsrv.cse.cuhk.edu.hk/~kkleung/menu.phps
      >
      > thanks in advance!!!
      >
      > removing tr, td and using combinations of single and double quotes did not
      > solve the problem :(
      >
      >[/color]
      I think you want this instead:
      echo "
      <STYLE TYPE='text/css'>
      <!--
      ..menucell td
      {
      background-image:url(\"$bu ttonimg\");
      color:brown;

      [...]


      Sh.
      --
      does your DRESSING ROOM have enough ASPARAGUS?

      Comment

      • R. Rajesh Jeba Anbiah

        #4
        Re: echo double quote problem

        vito wrote:[color=blue]
        > google and manual do not say much for printing double quotes in a path case.
        >
        > To facilitate your reading (I don't know how to make it colorful in
        > newsgroup), i'd appreciate studying the code at:
        >
        > http://appsrv.cse.cuhk.edu.hk/~kkleung/menu.phps[/color]

        <snip>

        So many times it has been pointed out that echoing HTML via PHP is
        little cumbersome compared to embedding PHP in HTML.

        --
        <?php echo 'Just another PHP saint'; ?>
        Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

        Comment

        Working...