Results 1 to 2 of 2
Thread: Java - Database posting issue
- 07-14-2011, 01:34 AM #1
Member
- Join Date
- Jul 2011
- Posts
- 1
- Rep Power
- 0
Java - Database posting issue
Hello Guys,
I am having no luck with my post form to mysql. It is only posting the first letter of the word/phrase for the text input fields to the mysql database. It is a photo and text post form. The photo and only first letter of text are posting to database. Please note I am using Jqtouch, jquery, and phonegap.
Thank you very much for any help. I have been putting hours with no luck.
Here is my form fields:
<input type="text" name="photo_caption[]" id="value1" src="" placeholder="Title value="" />
<input type="text" name="photo_details[]" id="value2" src="" placeholder="Details" value="" />
Here is my java script:
var options = new FileUploadOptions();
options.fileKey="photo_filename[]";
options.fileName= "file.jpg";
//options.mimeType="image/jpeg";
var params = new Object();
params.photo_caption = document.getElementById("value1").value;
params.photo_details = document.getElementById("value2").value;
options.params = params;
var ft = new FileTransfer();
ft.upload(imageURI, "http://www.mysite.com/upload.php", win, fail, options);
- 07-14-2011, 02:12 AM #2
Similar Threads
-
Now java Job Posting
By Ankit.Patel in forum Java SoftwareReplies: 0Last Post: 06-28-2011, 07:51 AM -
Issue with MS Access database and a JAR
By crazysniper308 in forum JDBCReplies: 6Last Post: 02-16-2011, 08:40 PM -
Issue with JDBC Connection to SQL Server 2005 database when default schema is changed
By NicoleVT2000 in forum New To JavaReplies: 0Last Post: 12-01-2009, 10:01 PM -
SQL database issue
By Dublin_kopite in forum New To JavaReplies: 1Last Post: 02-04-2009, 05:34 PM -
Posting codes and help
By Java_Man in forum New To JavaReplies: 2Last Post: 02-16-2008, 03:15 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks