Search found 7 matches
Search found 7 matches • Page 1 of 1
- Sat Aug 07, 2021 11:45 am
- Forum: Databases
- Topic: This is the error message SQL
- Replies: 3
- Views: 21738
You have made products_model field as unique property. thats why you are getting this error. I you do not required this field as unique then alter the unique attribute
- Sat Aug 07, 2021 10:33 am
- Forum: PHP - Frameworks
- Topic: Laravel Platform for ecommerce?
- Replies: 2
- Views: 22041
Yeah! Laravel will be very good option for ecommerce web site. But due to heavy dependency it will eat more computing resources that's why you have to optimize it heavily by caching
You can use PDO prepere statement to prevent SQL injection. Here is the example: <?php /* Execute a prepared statement by passing an array of values */ $sql = 'SELECT name, colour, calories FROM fruit WHERE calories < :calories AND colour = :colour'; $sth = $dbh->prepare($sql, array(PDO::ATTR_CURSOR...