因此,我使用load函数将数据传递给另一个名为compare_proc.php的文件。我创建了一个变量来存储要传递的数据,这些数据是数字。second_id = $("h1").attr('id'); // value of second_id is 20
$("div#test").load('compare_proc.php'id=first_id&
我在我的codeigniter项目的routes.php文件中使用了以下路由规则:这会将url中manage之后的所有内容作为变量重定向到item_lookup函数。manage位之后的所有内容都是来自数据库的文本字符串,然后对其进行urlencoded,即
the page "some page title" b