Insert (today's weather, WHXBB, the local area of Beijing today has rain); If error occurs, the error message pops up and returns to the previous page (Entry page) if (Whxbb::iserror ($result)) {New Whxbb_error ("Error:". $result->getmsg (). "(" . $result->getno. ")", 1, Whxbb_error_alert + Whxbb_error_return); or the following custom error//new Whxbb_error ("Add failed, please try again later", 1, Whxbb_error_alert + Whxbb_error_return); } else {Js::alert ("add success");//jump to the specified page Js:goto ("add.php");?>
http://www.bkjia.com/PHPjc/532125.html www.bkjia.com true http://www.bkjia.com/PHPjc/532125.html techarticle Insert (today's weather, WHXBB, there is rain in some parts of Beijing today); If an error occurs, the error message pops up and returns to the previous page (Input page) if (Whxbb::iserror ($result)) {New Whxbb_error (Error ...