我想通過base_url函數輸出php標籤內的圖像。它嘗試使用不同的引號組合,但似乎沒有任何工作在這裏。可以指出我在哪裏做錯了嗎?base_url沒有在codeigniter中的php標籤中顯示想要的結果
$image_url =$this->input->get("image",true);
echo "<img src='base_url('uploads/add_pic/')'.$image_url /> "."<br>";
while in output i am getting
localhost/myproject/online_marketplace_controller/base_url(
好心幫我在這方面
回聲 「」 「
」。 – pradeep