我使用的是colorbox.js,一个灯光盒脚本,当用户单击表行中的<a class='ajax' href='edit_labor.php?这种情况会发生,但子PHP页edit_labor.php无法访问父页planned_labot.php上设置的任何变量。问题:--当jquery.colorbox.js加载它时,我不理解加载的php页面和父php页面之间的父子关系。
<script s
php echo @$_POST['annonsera_name']?php echo $test;?>); // I have tried this with quotes, double-quotes, etc... no luck一些PHP代码: $test = "Hello World!";
?>