我在標(biāo)題中收到錯誤,它僅在第 2 行末尾標(biāo)記為 ">" 我嘗試將其更改為 /> 或類似的簡單內(nèi)容,但它似乎根本不起作用...想法是制作一個按鈕這將使用我使用 PHP 提供的 OwnerId 發(fā)送 onclick 這個函數(shù)。如果確實重要的話 [ownerId] => ec8d1073-544e-4330-bc9c-6fcfc3fe9bab 感謝您的閱讀,如果您發(fā)送任何幫助,再次感謝<button onclick="SendCommMessageToOwner(<? echo $comm_data->info->ownerId; ?>)" type="submit" class="elementor-button elementor-size-sm button-color-comm"> // right here <span> <span class=" elementor-button-icon"> </span> <span class="elementor-button-text">?????</span> </span> </button>
HTML 中的 PHP 會產(chǎn)生 SyntaxError: Invalid or Unexpected
慕運(yùn)維8079593
2023-09-08 10:13:00