>what's wrong with this if statment :
In Java '=' is for assignment and '==' is for compare.
><%
>Driver DriverResults =
>(Driver)Class.forName(MM_connCompass_DRIVER).newInstance();
>Connection ConnResults =
>DriverManager.getConnection(MM_connCompass_STRING,MM_connCompass_USERNAME,MM_connCompass_PASSWORD);
>PreparedStatement StatementResults;
>String stmt = "insert into employee VALUES(id, firstname, lastname,
>nominatedby, photo, extension, department, note, phone, email, date)";
>StatementResults = ConnResults.prepareStatement(stmt);
>if (!((imageurl =null) | (lastname =null) | (firstname =null) | (id =null)
>| (phone =null) |
> (department =null) | (date =null) | (extension =null) | (email =null) |
>(note =null) | ( nominatedby =null) ))
>StatementResults.executeQuery();
>
>%>
>
>Thanks
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>http://java.sun.com/products/jsp/faq.html
>http://www.esperanto.org.nz/jsp/jspfaq.html
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
-----------
Gopi Mandava (703) 267-1735 x307
CoManage Inc.
New Definitions:
Cannibal = Someone who is fed up with people
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets