Lỗi căn bản Javascript

Trước tiên là cách lấy giá trị của jQuery, hàm $(this).val() chỉ lấy giá trị của input trong form, còn nếu là div/class thông thường thì phải lấy giá trị qua $(this).html()

Khắc phục 1 số lỗi trong FuelPHP

Lỗi chạy command line: php oil refine migrate Error – invalid data source name in COREPATH/classes/database/pdo/connection.php on line 94 Sửa lỗi: I had this problems as well, but I found out that it’s caused by the missing PDO extension in php-cli.ini, I am using UniformServer, after I added that in the config it worked. You

Read More