Posts by Alef Felipe • 1 point
4 posts
-
-4
votes2
answers93
viewsA: How to allow null values in a field that was originally NOT NULL in SQL?
Just remove the NOT NULL CREATE TABLE usuarios ( id INT NOT NULL AUTO_INCREMENT, nome VARCHAR(64), email VARCHAR(255), PRIMARY KEY(id) ); By default, a column can contain NULL values…
-
-2
votes1
answer31
viewsA: Error picking up a BD result and giving an Hide in a javascript option
http://jsfiddle.net/mblase75/nh5eW/ ): $('#sel').data('options', $('#sel option').detach()); // data variable $('a').on('click', function (e) { e.preventDefault(); var $sel =…
-
0
votes0
answers28
viewsQ: Duplicate queries inside the Opencart 3 Catalog controller
Good night I’m developing a custom module for Opencart 3 and I’m having a problem returning the model’s json. The query is only returning 1 result but within the controller json returns 2 results…
opencartasked Alef Felipe 1 -
-1
votes1
answer70
viewsQ: How to catch the return of the post on my Scope Angularjs?
My variable scope.id_propertie returns Undefined. Some way to catch her off? $http.post("consults/properties.php", { 'action': 'list_properties' }).then(function(response) { let data = response; for…