0

私はコードを持っています

array( "name" => "Services Widget Description",
       "desc" => "Max 500 character(Use new line for new Point)",
       "std"=>"<ul>
                  <li>
             Rebum corrumliit neglegentur sit at,
           <img class='line22' width='243' height='2' alt='text line' src='images/text-line.jpg'>
        </li>
               </ul>"
),

URL は を含む変数です。http://localhost/Junkこの変数を src 内で使用したいので、このように試してみました

array( "name" => "Services Widget Description",
       "desc" => "Max 500 character(Use new line for new Point)",
       "std"=>"<ul>
                  <li>
             Rebum corrumliit neglegentur sit at,
           <img class='line22' width='243' height='2' alt='text line' src=URL.'images/text-line.jpg'>
        </li>
               </ul>"
),

使用しないでください。使用方法をガイドしてください

4

1 に答える 1

0

URLCONSTANT変数ではありません。

URLコードに統合する".URL."

array( "name" => "Services Widget Description",
       "desc" => "Max 500 character(Use new line for new Point)",
       "std"=>"<ul>
                  <li>
                      Rebum corrumliit neglegentur sit at,
                      <img class='line22' width='243' height='2' alt='text line' src='".URL."images/text-line.jpg'>
                  </li>
               </ul>"
),
于 2012-08-23T06:36:19.173 に答える