就这么一块代码,怎么就没人改对呢?请大家帮忙.我给20分啊!
echo " <td> <a href=savefile.php?showdid=".mysql_result($result,$i,'resourceid')." onclick='confirm("Are you sure?"){return true;}return false;'> delete </td> "
就这么一块代码,怎么就没人改对呢?请大家帮忙.我给20分啊!
------解决方案--------------------
echo "<td><a href=savefile.php?showdid=".mysql_result($result,$i,'resourceid')." onclick='if (confirm(\"Are you sure?\"))return true;return false;'> delete</td>" ;