Im trying to update this database, I don’t receive an error anymore but nothing gets entered in? Can anyone see why?
public void addInfo( String referer ) throws SQLException, Exception { if (con != null) { try{ PreparedStatement updateInfo; updateInfo = con.prepareStatement( "insert into info(?)"); updateInfo.setString(1, referer ); updateInfo.execute(); } catch (SQLException sqle) { System.err.println( "HELP" + sqle ); } } else { error = "Connection with database was lost."; throw new Exception( error ); } } thanks again - -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]