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

2004-11-05 Thread Bastien Koert
The logical way t o approach this is to add the buttons and have some control code that passes control off to a function based on what button was pressed. if ($bntSubmit=="Add"){ add(); } //add / edit (update) are all the same function if ($bntSubmit=="Delete"){ delete(); } if ($bntSubmit=="S

RE: [PHP-DB] Book recommendation for using MySQL w. PHP

2004-11-05 Thread dpgirago
Rene, I've gotten a lot of mileage lately out of 'The PHP Anthology, Volumes I and II' by Harry Fuecks and published by SitePoint. The author demonstrates IMO fairly sophisticated usage of OOP techniques in constructing classes for MySQL, in particular. And the coding examples are robust and

[PHP-DB] Re: More help with restore server

2004-11-05 Thread Michael Cortes
I fixed my problem, for those that are interested. I have now discovered the beauty of compiling from source. I ended up downloading php from the php.org site and compiled it. It repaired all php/mysql relationships and files and fixed my problem. These is latest of several occurances (not j

[PHP-DB] how to filter data to prevent SQL injection

2004-11-05 Thread Mark-Walter
Hi, I'am searching for a perl module to prevent SQL injection. Target is a simple logfile I need to analyse. I read the manpage from DBI where the function quote has been discussed, but not sure if this is the correct way. -- Best Regards, Mark -- PHP Database Mailing List (http://www.php.n