Click here to Skip to main content
15,896,726 members

Comments by Anirudh Mangalvedhekar (Top 2 by date)

Anirudh Mangalvedhekar 14-Oct-15 17:19pm View    
The index in your code is image and not file. Also I do believe you need a form like
<form action="filename" method="post" enctype="multipart/form-data">
the attribute enctype is crucial for the script to execute and also ensure within php.ini for following setting :
file_uploads = On
Good source of information to begin with :
http://www.w3schools.com/php/php_file_upload.asp
Anirudh Mangalvedhekar 27-May-14 1:34am View    
Override two methods OnUpgrade() and onCreate(). In onCreate() put your code which will create a table and in onUpgrade() put this code:
db.execSQL("DROP TABLE IF EXISTS "+ DATABASE_NAME);
onCreate(db);
This should work, IMHO......