Insert an instance. Insert (today's weather, whxbb, rain in some parts of Beijing Today); if an error occurs, the error message is displayed and the previous page is returned (input page) if (WHXBB: isError ($ result )) {newWHXBB_Error (error Insert (today's weather, whxbb, rain in some parts of Beijing Today); // if an error occurs, the error message is displayed and the above page is returned (input 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 ("failed to add, please try again later", 1, WHXBB_ERROR_ALERT + WHXBB_ERROR_RETURN);} else {JS: Alert ("added successfully"); // jump to the specified page JS: Goto ("add. php ") ;}?>
Http://www.bkjia.com/PHPjc/532125.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/532125.htmlTechArticleInsert (today's weather, whxbb, today there is rain in some areas of Beijing); // if an error occurs, the error message pops up and returns the previous page (entry page) if (WHXBB: isError ($ result )) {new WHXBB_Error (error...