I was wondering should I use procedures in mySql or direct from php to populate the table named Project. I have $projectName, $startDate etc. should I call a mySql procedure or directly using php?
For example:
$queryInsert ="INSERT INTO users (name)
VALUES('".$projectName."')";
//and so on for the rest of vars
Wondering which is the best coding practice method to use. thanks
Some benefits of stored procedure are :
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With