- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 1
8 Posted Topics
Re: Friend i think you have error in [CODE]# String[] serviceArray; # serviceArray = request.getParameterValues("services");[/CODE]this statement because below code works perfect check it. [CODE]<%@page import="java.sql.*,java.io.*;"%> <% try { Class.forName("com.mysql.jdbc.Driver"); Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/db","****","****"); String strQuery = "select * from services "; Statement st=con.createStatement(); Statement st1=con.createStatement(); ResultSet rs =null; ResultSet rs1 = null; rs … | |
Re: Simple man download the connector/j driver and add it to the environment variables.(named classpath) then use [CODE] Class.forName("com.mysql.jdbc.Driver"); String url = "jdbc:mysql://localhost:3306/databasename" [/CODE] Now you able to connect,if using phpmyadmin then add the classpath to that mysql available in wamp or xamp server you are using | |
Re: I think you forget to close select here,still problem exists post the full code | |
Re: Friend provide the code you tried for insert. and keep in mind the space in between the two words is always giving you problem so use session to store the values and insert into table. | |
Re: If you don't have xp cd,have you tried sytemrestore that is change the system to previous date go to start->allprograms->accesories->system tools->system restrore->select a date where system worked perfect and do a restore. If still problem persists create a new user from control panel and delete the old user this might … | |
Re: Can you explain a bit more that is passing an array is easy to do,what do you expect from swapping. | |
Re: you can find lot of open source projects on net download and work it out then you can able to do the projects with your own. | |
Re: The code below is the full working code [CODE]<html> <head> </head> <body> <form name="upload" method="post" action="resumeinsert.php" ENCTYPE="multipart/form-data" > <div> <table> <tr> <td><input type="radio" name="member" value="Split Candidate">Split Candidate</td> </tr> <tr> <td> Resume title </td><td> <input name="title" type="text" /></td> </tr><tr> <td> Salary</td><td> <input name="keywords" type="text"/></td> </tr> <tr> <td> Industry Type *</td><td> <select … |
The End.