Posts by Débora Castro • 151 points
8 posts
-
1
votes1
answer595
viewsA: Keep an angle combobox selected
How you created your ? Are you setting ng-model? How options are being generated? An example: <select ng-model="suamodel" name="selectUm"> <options ng-repeat="optionsValue as…
angularjsanswered Débora Castro 151 -
2
votes2
answers1168
viewsA: Query of many Mysql and PHP data
Well I don’t know if I understood your problem well! But I saw two points: 1) The delay to display the records on the screen! Well I’ve had problems with rendering many records because it hangs…
-
1
votes2
answers1158
viewsA: Take data from the button in jQuery and call Modal
You can use the attributes data-href with the url to delete the record. Ex: data-href="delete.php? id=set_cod; ?>" With jquery the following code, ensures the action when confirming…
jqueryanswered Débora Castro 151 -
0
votes1
answer241
viewsA: Insert with SQLSTATE error [HY093]
$stmt = $pdo->prepare('INSERT INTO cliente VALUES(:idcliente,:Nome,:CPF,:Sexo,:DataNasc,:Telefone,:Cidade,:Bairro,:NomedaRua,:NumeroCasa,:Complemento,:Email,:Senha)'); Remove the :idclient. In…
-
0
votes2
answers1578
viewsA: move_uploaded_file failed to open stream: No such file or directory
Apparently the error is not in the code snippet you passed, where is called your function? You are giving an error is in the User Class; probably a class that does not exist in the repository is…
phpanswered Débora Castro 151 -
1
votes1
answer193
viewsA: Show username responsible for such ID in html
Your role is requesting a new page, and passing the id of the forum in question. In this new page the ideal is to have a controller and in it a method that when starting to search the data of this…
-
2
votes1
answer103
viewsA: How to add item in API
First in your controller you should instantiate the $http angular parameter, like this: function ListaComprasController($scope, $http) { In your add item method, you include a call to your api.…
-
5
votes4
answers5899
viewsA: PHP ask for confirmation before deleting
This type of validation is usually done on the client side. You can do it with Javascript in the onclick event of your html tag, which calls your method. Ex. <a href="deletar?id=1"…