kessy cruz

Greenhorn
+ Follow
since Dec 13, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kessy cruz

I have not tried that, but when user click it does not get d Id. Should I upload the codes for you to examine?
7 years ago
PHP
Good day, I have been on this for day. Please help me out. I will upload some of my files. *A list of category is displayed on d home page. When a user click on any of this category, it displays the list of preachers in that category. I can't get d category id on url. This is the error, Error loading page and localhost/ sitename/?category=. Thanks
7 years ago
PHP
Thank you very much. This is my problem. Using php and I'm new to it. I will give it a try
Sorry, there is a list of categories in d home page. How do I pass any of those category into d query. so when user click on any of this category, it displays d preachers for that category
Thanks you, both I'm still lost. What should I put in the last part (... WHERE categories.ID =?).
Good day, please I have 3 tables Categories(ID,name) Preachers(ID,name) and PreachCategory(categoriesID, preachersID).
Please, I want to display preachers for a particular category. So that when a user click on the d particular category, it display d list of preachers. Thanks
Good day, please I have 3 tables Categories(ID,name) Preachers(ID,name) and PreachCategory(categoriesID, preachersID).
Please, I want to display preachers for a particular category. So that when a user click on the d particular category, it display d list of preachers. Thanks

Good morning, I'm trying to populate comboBox from database. its my first time and i'm messing it all up, i cant find a good tutorial about it online.
please help structure the code.Thanks you for taking time to read this.

<code>private void jComboBoxActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
try{
Connection conn = DriverManager.getConnection(DB_URL, DB_USERNAME, DB_PASSWORD);
Statement stst = (Statement)conn.createStatement();
String sql = "SELECT CodeId FROM Courses";
int index = 0;
ResultSet rs = stst.executeQuery(sql);
while(rs.next()){
// items[index]= rs.getString("CodeId");
// jComboBox.addItem(rs.getString("CodeId"));

//clears the contents of the combo box
Course course = new Course();
course.getCodeId();

jComboBox.removeAllItems();
jComboBox.insertItemAt("Course", 0);
jComboBox.setSelectedIndex(0);
// jComboBox.addItem(rs.getString(""));

for (int i = 1; i < course; i++){
jComboBox.insertItemAt(getCodeId[i], i);
}
}
rset.close();
stst.close();
}catch (SQLException e){
e.printStackTrace();
}
} </code>
It shows: exception in "Thread-3" java.lang.NullPointerException
Com.mysql.jdbc.exception.jdbc.MYSQLSyntaxErrorExceptionHunknown column in where clause
And points τ̅☺ dis if(!data[0].equalsIgnoreCase(code)){
Goodday, please this is part of my code, i'm having problem retriving data from my database. i have a textfield called editField where you have to input a codeId and click editBtn to retrive the data from the database, edit and click the update button call updateBtn to save back into the database. Thanks

Good day all, please help with an example on creating desktop application using AJAX. Because I want to create an AJAX web browser. Please, with a link in creating GUI in netbeans using the MVC architecture. Thanks
9 years ago
I tried doing that with JSP but could not.I Ðoñ'†̥ kw if I'm missing something. Please help me with necessary step or a link †☺ connect †☺ a mysql database using struts2. If possible please help with ªŋ example.thanks
9 years ago
I had a problem why working with struts2. I was not able to connect to my database(mysql).
9 years ago
Good day, please I want to design a final year project within 4 months. I want to know which one of this two technologies will be easier and faster for me, I have basic knowledge of both. Thanks in advance.
9 years ago