Posts by Eduehi • 113 points
14 posts
-
1
votes1
answer53
viewsQ: Get id from a previous recording
Good afternoon. I have a simple form of an agenda that records the location data, event name and etc, then I have another one that records the participating users, I would like to know how I got the…
-
0
votes1
answer1510
viewsQ: Fatal error: Uncaught Exception 'Pdoexception' with message 'SQLSTATE[42000]'
I need to generate a schedule for a certain period, but it’s making this mistake. Fatal error: Uncaught Exception 'Pdoexception' with message 'SQLSTATE[42000]: Syntax error or access Violation: 1064…
-
0
votes2
answers70
viewsA: Links in javascript
I managed to solve it that way. CKEDITOR.editorConfig = function(config) { config.filebrowserBrowseUrl = url+'public/plugin/ckeditor/kcfinder/browse.php'; config.filebrowserImageBrowseUrl =…
-
0
votes2
answers70
viewsQ: Links in javascript
Good morning guys, I’m having a problem calling a link in javascript, in php I have a rule where every time I put #URL#link.... it replaces with the server address. Example #URL#public it replaces…
-
0
votes1
answer517
viewsQ: Fatal error: Call to a Member Function exec() on a non-object in
I wonder where I’m going wrong? public function validar() { $dados = Connection::select("SELECT id_usuario,login_usuario,senha_usuario,nome_usuario,sobrenome_usuario,departamento_id FROM usuario…
-
1
votes1
answer69
viewsQ: Group content per month and day
Good afternoon Guys, I’m having trouble grouping content in the following structure: Mes Day In the query I have two tables, "agenda" and "user". In the agenda table I have a field of type "date"…
-
0
votes1
answer852
viewsQ: Select to sort by hour
Guys, I need to make a select that organizes by date and time. By date it is already working, but if I put an "and" "hour" after the date, it messes up all the records. See my select: $dados =…
-
4
votes2
answers8268
viewsQ: Select with the day of the week in Portuguese
Good afternoon Guys, I need to make a select that translates the day of the week into Portuguese, it is already working, but in English. How can I change. Select *,id, data,…
-
-1
votes2
answers1026
viewsQ: Record record in table at each user access
I need to create a script that records a last-accessed log in a table, but my Insert is not working. I created an Access class, where it logs in. If anyone can help me. Thank you. My class of…
-
0
votes1
answer621
viewsQ: Message returning Session username using str_replace
I need help putting the user name at the top of the page. In php I managed to do, (if you echo "$userName" it works) but loses all formatting, so I need to replace it in html. Look at if…
-
0
votes1
answer77
viewsQ: <select> does not work Ajax
Good morning Guys, I did a search with Ajax using "input". Now I need to do the same way of searching, but instead of being an "input", I have to use a "select". I have tested using input and it…
-
0
votes2
answers456
viewsQ: Replace for html
So, guys, check my code: <--php--> $nomeusuario = print($_SESSION['nome']); $html = str_replace('#NOMEUSUARIO#', $nomeusuario, $html); <--html--> Olá,…
-
1
votes2
answers1495
viewsQ: Cannot use Object of type Pdostatement as array
I can’t seem to do the header location redirect to a table field. In this field, you have a PDF document link. Look at the code: case 'mostra-id': $link = Connection::select("SELECT link FROM…
-
0
votes2
answers436
viewsQ: Group content by month
Good afternoon guys, I need to group a list by month, I use the date field in the table. I tried to do, but he repeats the month to each had of the list. See my code. $dados =…