1.//返回主页<input type="button" name="button" οnclick="location.href='admin_product.php'" value="返回" />
2.//跳转本页header("location:".$_SERVER['PHP_SELF']);
3. //sprintf 把格式化的数据写入某个字符串
$fmt = "%s:%s[%s] \n"; $attr = sprintf($fmt, "aa", "bb","cc");
1.//返回主页<input type="button" name="button" οnclick="location.href='admin_product.php'" value="返回" />
2.//跳转本页header("location:".$_SERVER['PHP_SELF']);
3. //sprintf 把格式化的数据写入某个字符串
$fmt = "%s:%s[%s] \n"; $attr = sprintf($fmt, "aa", "bb","cc");