Posts by Rodrigo Zanetti • 57 points
10 posts
-
2
votes1
answer61
viewsQ: create Hide effect and news link show with classes and ajax
I have the class that retrieves data from the bank public function ListAjNot(){ try{ $lernot = "SELECT tit_postjauport, pos_postjauport FROM noticia "; $listnot =…
-
1
votes2
answers2847
viewsQ: Leave an Hide(hidden) element with javascript
I have an element with the ID="not1" which is a link to news titles inserted being created dynamically with the respective news of each title class=" col-Md-12" as shown below. <div…
-
0
votes1
answer301
viewsQ: Error while deleting with PHP using PDO class and object orientation
I’m making a delete on my form manut_usuario, below is my method to delete which is in class usuario.class.php; public function DelUsu($id){ try{ $delUsu = "DELETE FROM usuario WHERE idu_usujport =…
-
0
votes0
answers274
viewsQ: Use php and Ajax class
good morning The question is as follows, I have a class of "user.class.php", where within it are my attributes, and all methods(Insert, update, delete, search code and etc...) private(){ ...todos os…
-
0
votes1
answer67
viewsQ: "login" method error using php and Pdo object orientation
good afternoon, I am in error when logging into my restricted page... SCREAM: Error suppression ignored for ( ! ) Fatal error: Call to a member function logar() on a non-object in…
-
0
votes1
answer455
viewsQ: Popular input type according to Selection made in Combobox(OPTION)
When selecting a user in my select I need to pass what I have selected to the fields of my form.. below this my method that picks up this information. public function LerDadosUsu(){ try{ $lerusu =…
-
-1
votes1
answer330
viewsQ: put MYSQL data in my form combobox using class and php
I want to load in the COMBOBOX of the user registration maintenance form the user NAME data coming from MYSQL. I have a method below that does the query in mysql database and returns an array public…
-
1
votes1
answer126
viewsQ: Recovers values using classes and Pdo without going through the url
Good afternoon, I have a class where I pass all the methods insert, update, delete, consulta(fechall) and consulta(fech($id)) Below I show the class of consulta(fech($id)) public function…
-
0
votes1
answer839
viewsQ: Return data from my table by formatting in html
I have a function within my class to list data; below follows the code: public function listadados(){ try{ //retornar um array $sql = "SELECT * FROM web_cadcli"; $lista =…
-
0
votes1
answer341
viewsQ: Inserting data with PHP using classes and PDO
Good evening guys. I have the task of creating a complete CRUD on the site where I work. However I need to use classes and methods with PHP. See what happens. I have the class usuario.class, where I…