0
<button onclick="location.href='<?php echo base_url();?>Guesser/guess'">Start!</button>
只是顯示有關一個空的網頁:空白作爲URLCodeigniter鏈接按鈕到另一個視圖不工作?
<button onclick="location.href='<?php echo base_url();?>Guesser/guess'">Start!</button>
只是顯示有關一個空的網頁:空白作爲URLCodeigniter鏈接按鈕到另一個視圖不工作?
嘗試這種情況:
<input type="button" onclick="location.href='<?php echo base_url();?>Guesser/guess'" value="Start!">
用的index.php嘗試;索引。 php/guesser /猜測如果不是,你可能需要在應用程序中設置自定義路由> config> routes.php –
user4419336
@ wolfgang1983不起作用 – user122938221