2016-02-12 96 views
-1

我正在WordPress上定製一個插件,我想在html輸出中顯示一個GET變量?我該怎麼做?輸出html中的變量

$mlpoutputhtml .= "Selected category: "; + the get variable 

感謝

+0

回聲$ _GET ['your_variable] –

+0

This,'$ mlpoutputhtml。=「選擇的類別:」。 $ _GET ['your_variable'];'? –

回答

0

$mlpoutputhtml .= "Selected category: " . $_GET['your_variable']; 
+0

@RajdeepPaul - 您能否將您的評論轉換爲答案,Quentin能否刪除此答案,並等到Rajdeep提供了他的答案,以便您可以正確地將其標記爲已接受? – Lee

+0

@Lee沒有問題,OP可以將此答案標記爲*接受答案*。 :-) –