Fully your decision...just my .02 on the matter.
Php5 and above allows for Object Oriented programming
PHP: Classes and Objects - Manual
Type: Posts; User: copeg
Fully your decision...just my .02 on the matter.
Php5 and above allows for Object Oriented programming
PHP: Classes and Objects - Manual
I mean create a PHP class (or some alternative) which is function based that delegates the SQL calls for the client. Thus, all the web service file does is create an instance of the class and call...
Agree with the above advice...your code is susceptible to injection and a PreparedStatement could alleviate that danger, help with the updates, and allow you to rollback changes if one fails. You...