- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
17 Posted Topics
Hi :) Is it better to have a one file program (ex. MyProgram.class) or a multiple file one (ex. Main.class and Gui.class and Draw.class)? thx | |
Hi :) I am writing an admin application for a website I've written. It's a basic database update/insert/delete app. I started by using the website's server, but the time it took to connect to the server (since the main JTable is populated from the db, you have to wait for … | |
Hi, Is MD5 still secure enough to use for the storing of passwords in MySQL? Or is there a better/more secure way? I did google quite a bit, but all the posts I found were old (2004-2008) | |
Re: [QUOTE]"header" cannnot be used as the script has already output a "wait" message. PHP manual "header": "must be called before any actual output is sent".[/QUOTE] If I recall correctly, using a buffer fixes the problem: Example: [CODE] <?php ob_start('ob_gzhandler'); //dircopy echo "whatever"; header("Refresh: 3; url=somefile.php"); ob_end_flush(); ?>[/CODE] The only problem … ![]() | |
Re: I hope I understand you correctly, but it sounds like you need the "LIMIT" MySQL function. Example: By using [CODE]"SELECT * FROM database LIMIT 5"[/CODE] The resultset is only 5 records big. Hope this helps | |
Hello :) I am working on a CRUD app to directly change a MySQL database on a remote server. I have a section where I can edit or delete entries. I choose an entry from a JList (populated by a ResultSet in a loop), and a JTextArea populates with the … | |
Re: Well, it looks to me like the error is here: [CODE]col = col - 1;[/CODE] if col is 0 then col-1 = -1 and the array doesn't have a column at -1, hence the outOfBounds error. | |
Re: Could you try: [CODE]array[i] = Double.valueOf(dataIn.readLine());[/CODE] I'm not sure what the difference between that and parsing is, but this works more often than parsing for me :) L | |
Hi :) I was hoping someone could point me in the right direction to create a grid of clickable objects/images/shapes. My problem is this, I have to create a grid of 100+ characters that, when you click on one, appends a JTextArea with a specific, different, character. The only idea … | |
Hi :) I am Writing a program that takes text from a JTextArea and uses the string to do things upon clicking a button. I used an ActionListener for the button. My problem is that I recieve an empty string when I try to access the text from the JTextArea … | |
Hi :) Is there any way to look up a character's Unicode line number? Ex. Capital letter A's line number (hex) is 41 capital B is 42 etc. (more info [URL="http://www.utf8-chartable.de/"]here[/URL]) Or would I have to put them in an array manually? thanks :) | |
Re: You have to calculate the tax. [URL="http://www.helium.com/items/124101-how-to-calculate-sales-tax"]How to calculate sales tax[/URL] | |
Hi :) I am writing an application that converts text to braille for a varsity project. I got it working by using a library given to us by our professor, but I am trying to understand the code I am using, so I am re-writing the code and omitting any … | |
Hello, I have just started using Delphi and ran into a small problem. It's a simple app, as I am only practicing. It has a Button and 2 Edit boxes. I want the user to enter some text to be saved (in a .txt file) in Edit1 and choose a … | |
Re: How do you mean? Validating a form that sends data to a MySQL database? for that i use (js): [CODE]<html> <head> <script type="text/javascript"> function validate_required(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false;} else {return true} } }function validate_form(thisform) { with (thisform) { if (validate_required(email,"Email must be filled out!")==false) {email.focus();return … | |
Hello there, I am having trouble with a form/database. I have 3 age groups that needs to be sorted into 3 separate tables. Users fill in a form (dropdown list with the separate age groups) and when they click submit, the data gets sorted in tables on another page. With … |
The End.