[PHP-DB] searching an entry in inventory db

2004-12-04 Thread Aravalli Sai
hi i had designed an inventory management system where in i can ADD,INSERT,DELETE,UPDATE the data elements..but when i am trying to find(search) an entry in theinventory data base system (i want to find the entrybased on the tagno since this is the primary key in my table) the logic i had

[PHP-DB] how to search an entry in php sqlite db

2004-12-03 Thread Aravalli Sai
hi i am trying to find(search) an entry in the inventory data base system ...i want to find the entry based on the tagno since this is the primary key in my table.. the logic i had written is if(isset($_POST['submit'])) { if (!empty($_POST['tagno'])) { $insquery =select

[PHP-DB] fatal error

2004-11-27 Thread Aravalli Sai
i had created an inventory management system in php using sqlite DB..with ADD,DELETE,UPDATE,VIEW,FIND functions...and it was working properly..but suddenly it is giving an error as Fatal error: Call to undefined function: sqlite_open() in /home/saravall/.HTML/view.php on line 25 can anyone

[PHP-DB] parse error

2004-11-13 Thread Aravalli Sai
hi, i am trying to delete an item from inventory management system done by using php on sqlite... i had created a button 'delete' and when i submit a value to be deleted from the table it is giving an error,i think there is some problem with delete logic ... i am attaching the following

[PHP-DB] parse error (with coding)

2004-11-13 Thread Aravalli Sai
hi i had created an inventory management system..using php on sqlitei can successfully insert the values in it..but when i try to delete an item it is giving me an error...i think there is some logical problem in delete statement... can anyone help me in figure out this error.. thanks in

[PHP-DB] error in deleting an inventory

2004-11-12 Thread Aravalli Sai
hi, i am trying to delete an item from inventory management sys. done by using php on sqlite... i had created a button 'delete' and when i submit a value to be deleted it is giving an error... i am attaching the following codes: 1)html(delete.html) code which is working.. 2)php code(td.php)

[PHP-DB] logic to delete and update an element in php using sqlite

2004-11-06 Thread Aravalli Sai
hi i am desiging an user interface for inventory management...i want to know the logic to delete and update an element from the database (in php and i am using sqlite database) --regards sai __ Do You Yahoo!? Tired of spam? Yahoo! Mail

[PHP-DB] how to add UPDATE,DELETE for inventory management system using sqlite db

2004-11-04 Thread Aravalli Sai
hi i had designed an user interface for inventory management system using sqlite db.i had used 'SAVE' button so far for inserting values into the database from the user. now i want to add some other buttons such as UPDATE,SELECT,DELETE...to the interface... can some one giv me an idea for

[PHP-DB] error:attempt to write a readonly database

2004-10-28 Thread Aravalli Sai
hi i am getting the following error when i try to run my php program..i want to know wht is this error in general Warning: sqlite_query(): attempt to write a readonly database in /home/saravall/.HTML/inv.php on line 26 error:attempt to write a readonly database thanks sai

[PHP-DB] php code on sqlite

2004-10-20 Thread Aravalli Sai
hi this is php code for inventory management system which is done using SQLite.this is an user interface where an user wil giv values to the text boxes and it should be saved in the backend database which is sqlite.. but when i run this code on browser it is giving an error ... Parse error:

[PHP-DB] parse error in php code backend SQLite

2004-10-20 Thread Aravalli Sai
hi this is php code for inventory management system which is done using SQLite.this is an user interface where an user wil giv values to the text boxes and it should be saved in the backend database which is sqlite.. but when i run this code on browser it is giving an error ... Parse

[PHP-DB] parse error in php backend sqlite

2004-10-20 Thread Aravalli Sai
hi this is php code for inventory management system which is done using SQLite.this is an user interface where an user wil giv values to the text boxes and it should be saved in the backend database which is sqlite.. but when i run this code on browser it is giving an error ... Parse error: