How to echo an echo in php?

后端 未结 5 1196
轻奢々
轻奢々 2021-01-22 15:28

I have some basic PHP code:

$raceramps56[\"short\"] = \"My Test Product\";

$leftMenu = 

\'
5条回答
  •  南方客
    南方客 (楼主)
    2021-01-22 15:58

    $raceramps56["short"] = "My Test Product";
    
    $leftMenu = '
    ' . $raceramps56["short"] . '
    '; echo $leftMenu;

提交回复
热议问题