Posts by Renan Rodrigues • 3,709 points
283 posts
-
0
votes1
answer285
viewsQ: Image in blob does not appear
I need to make my images appear on tag img however only a few appears, I’ve taken all the css and it’s no problem in this. Below the photo that testifies that html is understanding the image: On my…
-
1
votes1
answer58
viewsQ: Problems with the return of the hasMany relational
I am working on the Batch table of my project where each batch will have its own product and each product may have multiple batches. I set up the whole relationship and now I’m testing access by…
laravel-5asked Renan Rodrigues 3,709 -
0
votes1
answer1252
viewsQ: Transforming image upload to Base64 - Standard
I’m having trouble getting the data from my View and turns it into the base 64, in the controller I’m doing like this: public function store(ImagemRequest $resquest){ dd($resquest->all()); //Nest…
-
1
votes1
answer7692
viewsQ: Laravel request validation
Well I’m having problems with validations on laravel, in real it is validating correctly but need to inform the user which field X is required or not. Today the system simply sends to same screen…
-
3
votes1
answer1321
viewsQ: Creating datetime field with Laravel Collective
I’m creating a field using the Laravel Collective however I am having problems with the field date, first I am not able to create the field DATATIME and another problem is that it is coming the…
-
4
votes1
answer2227
viewsQ: Relationship problems one for many
I’m trying to create a CRUD simple category and subcategory registration where a category may have several subcategories but a subcategory may have only one category. On my migrátion I made my…
laravel-5asked Renan Rodrigues 3,709 -
4
votes1
answer6033
viewsQ: Show/Hide div using a radio button
Well I need to check the state of mine radio button to make sure that if he is active in "Yes", he opens the <div class="camposExtras">, click on "Not" he closes the div, and this should be…
-
1
votes1
answer523
viewsQ: Problem with model Aravel 5.2
Well I’m having a problem with my model, I don’t really know what’s going on, I’m creating a packaging CRUD where I add everything dynamically with the requests in the signature of the function.…
-
1
votes1
answer299
viewsQ: Problems with routes in the Laravel
I’m working with group routes in the laravel 5.2 and I’m having trouble with the create.store part of the route that saves my object. My files are structured as follows: Clientecontroller.php…
laravel-5asked Renan Rodrigues 3,709 -
0
votes1
answer52
viewsQ: View model with Icollection
I’m starting in mobile development and I’m doing a category control system. Where I give possibility to do various levels of categories. My entity was as follows: public int CategoriaId { get; set;…
asp.net-mvcasked Renan Rodrigues 3,709 -
3
votes1
answer283
viewsQ: Tuples separated by commas
I’m making a query in the database (mysql) where I have a code and by this code there are several types of people. I need when you do the query come like this ID | NOMES 1 | Fulano 1, Fulano 2,…
sqlasked Renan Rodrigues 3,709 -
1
votes1
answer488
viewsQ: Saving several array at once
Well I have a function that is complex, because I need within the same function to do several for due to the complexity and amount of information. I am consuming an API where I need to get monthly…
-
1
votes1
answer201
viewsA: Issues with Laravel Sqlite File Permission
The solution was very simple and to achieve it alone. The page where my server was had an accent on the is, so when I had to access the system did not work, because the accent is replaced by another…
-
0
votes1
answer201
viewsQ: Issues with Laravel Sqlite File Permission
I’m having problem with initializing the Sqlite database when I run the command migrate error appears like this [PDOException] SQLSTATE[HY000] [14] unable to open database file My file .sqlite is…
-
0
votes2
answers614
viewsQ: Request in the url with Laravel
I’m trying to get started on Laravel, and I’m having trouble with requests, when I make just one request as an example localhost:8000/hoteis everything works it searches the page and works…
-
0
votes1
answer331
viewsQ: Updating data from charts already instantiated
I’m using the Google Charts and I am needing to update a map that is already instantiated as a valid map, I actually want to update the data from inside a map. Today I’m doing it this way: var…
-
2
votes1
answer757
viewsQ: Transform string into array
I’m searching data and assembling a string to pass to the google graphics api but I’m having trouble, I’m doing it this way: var variavel = "['Data', 'Membros', 'Visitantes'],"; for(var b = 0; b…
javascriptasked Renan Rodrigues 3,709 -
0
votes0
answers242
viewsQ: Dynamic graphics with google api
I am making a graphic and precise search the data via javascript localStorage, but I am not able to understand the logic, using php to search the page made sense but with javascript I am not able to…
javascriptasked Renan Rodrigues 3,709 -
0
votes1
answer71
viewsQ: Case sensitive MYSQL
I need my bank to accept capital letters in the table names, for example at the time I create the table tbl_ALGUMACOISA she appears to me tbl_algumacoisa So it also works with the fields, as I must…
mysqlasked Renan Rodrigues 3,709 -
1
votes2
answers460
viewsA: Using theme with Laravel
Studying a little understood that css files, img, among others, that are part of a structure should be on the public part, because these will be the data that will be actually published. After doing…
laravelanswered Renan Rodrigues 3,709 -
1
votes2
answers460
viewsQ: Using theme with Laravel
Well, I need to use a theme but I’m not understanding where to put the files, besides this I’m having problems with the import of css files, actually the files I’m putting inside views. My folder…
laravelasked Renan Rodrigues 3,709 -
2
votes1
answer749
viewsQ: Handling multiple lines of code within a variable
I am developing a dynamic report with mPDF, but I am not able to put my data inside a variable to be able to output it. My page is designed like this: $html = '<div class="box-content no-padding…
-
1
votes2
answers7365
viewsQ: How to know which version of the browser dynamically?
I’m doing a project in CORDOVA using basically HTML, CSS, JS. But in some mobile phones the image of some icons are getting their natural size and in others not, I have used basically vh to set the…
-
0
votes1
answer365
viewsQ: Generating PDF with MPDF from BLOB
Well I need to generate a PDF from a BLOB field saved in the database, my idea is to upload PDF transforming it into BLOB so as not to occupy disk space and facilitate the transport of the same. I’m…
-
1
votes1
answer1245
viewsQ: Error mPDF library
I’m having problems with mPDF library, I searched the internet for some tutorials but did not solve my problem. when I try to access an error page : Error - mPDF requires mb_string functions. Ensure…
-
2
votes1
answer124
viewsQ: Problems accessing PHP page via Ajax
I am having trouble accessing a PHP page via ajax. When I am trying to access the access.log the following error: "POST /Eglise/mobile/Mob_acao.php HTTP/1.1" 200 84 "-" "Mozilla/5.0 (Linux; Android…
-
1
votes0
answers13
viewsQ: Passing parameter with signature value
I’m doubtful, actually I don’t even remember how to speak/write this however, I need to pass a default value in the parameter, so it would be like this: function umvalor(valor = null) For if I pass…
javascriptasked Renan Rodrigues 3,709 -
2
votes2
answers36
viewsQ: Checking for equalities between objects
Well, I need to check the content of 2 objects, I need to know if they are the same or not in the main fields. My idea is to check by inserting some data in the localStorage if that data already…
-
0
votes0
answers68
viewsQ: crypt for javascript
Well I’m working on a project that I need to use the crypt as a method to encrypt the password, but this password I need to use in mobile, how do I use something that the crypt will understand and…
-
1
votes1
answer452
viewsQ: Search in the localStorage
Well I need to do a search in the localStorage, and in this I need to know which start item with a certain character, for example: Quero pegar todos as key que começão com pes_ ou seja no exemplo…
-
2
votes1
answer833
viewsQ: Confusions with JSON.stringify, JSON.parse and OBJECT.push()
Well I’m cluttering up with these commands, in fact what I’m wanting to do is the following. Using localStorage maintain a database. NOME TABELA | DADOS TABELA tbl_TESTE | {teste 01, teste02,…
-
1
votes0
answers30
viewsQ: Problems with googlecharts
Good afternoon, I have following problem, when I start my site it appears the nice chart but when I click to go to page it from the problem and does not show it. The site is programmed in ajax, so I…
-
4
votes5
answers7927
viewsQ: Take name and surname of a string
I need to take the name and surname of a string. For example, if the full name is: Renan Rodrigues Moraes I just need to take Renan Rodrigues. I know what to do but I don’t know how to do it. In…
javascriptasked Renan Rodrigues 3,709 -
0
votes0
answers55
viewsQ: Problems with calendar on Smartphone
I’m having trouble viewing the calendar when I’m running my application by IntelXDK the calendar view is made this way. Already when I installed the application in the cell, had the following…
-
0
votes1
answer228
viewsQ: How to add 64 base image to the div background dynamically?
I’m having second thoughts, How to place a Base64 background image in a div, dynamically using jquery ? I know it’s normal to use it like this: background-image: url('data:image/jpg;base64,AQUI VEM…
-
1
votes1
answer101
viewsQ: Problems with sorting an array list
I have the following problem: I try to sort a list of people containing the flag that identifies the person (student or teacher), the person’s code, the person’s name, the person’s status (active,…
javascriptasked Renan Rodrigues 3,709 -
3
votes1
answer115
viewsQ: QUERY containing different and or
I need to do a query where that person’s status can be A = Active, I = Inactive and B = Blocked but it can also be null, my query is already returning when it is A, B or I but when it is null it…
mysqlasked Renan Rodrigues 3,709 -
4
votes2
answers956
viewsQ: PDF Decode Base64
I’m setting up a job where I need to release the file download on pdf, however this file is saved in the database it is in format base64. My idea is to do when the comrade clicks on the line he does…
-
1
votes2
answers616
viewsA: Store login input text
The solution I found was much simpler than I thought it was, I used the localstorage technology, so I could save all the necessary data for my login. <script> var codigo =…
-
1
votes2
answers616
viewsQ: Store login input text
Guys I’m needing to record 2 fields from the login screen of my program, I want to give ease to the friend who has logged in, he does not need to type things like company code, and email. I tried to…
-
0
votes1
answer72
viewsQ: Mysql backup with create schema
I need to do the backup from a database (DUMP) that comes with create schema. Which command line using PUTTY (via SSH) to do such a task ? I searched and found this command but it only backup tables…
-
0
votes0
answers203
viewsQ: Problems saving XAMPP database
I’m in a lot of trouble with my xampp, have some time I’ve been trying to add anything into the database mysql but I am not successful in my attempts. In the error.log PHP is described the following…
-
1
votes2
answers212
viewsA: Searching the letter variable after the point to validate upload in the Dropzone
I found the solution, all I had to do was var split = varivel.split("."); then to appear everything you have after the point I did: split[1] Below is an example of how to use. var v = "ARQUIVO.PNG";…
-
3
votes2
answers212
viewsQ: Searching the letter variable after the point to validate upload in the Dropzone
I’m having a problem, I’m actually developing an image upload system and I’m using the Dropzone, but I need to do something to separate the files I have, in fact I can only accept images like jpeg,…
-
1
votes2
answers1403
viewsQ: Compare data sql
I need to compare date in a certain time interval. I need to pick up the field DAT_REPOT_REALZ and check the dates between TODAY and seven days ago. I also need to count the number of V (visitor)…
-
5
votes1
answer552
viewsQ: CMD WINDOWS commands
I don’t know if you can ask questions about this subject, but I’m having difficulties to open the file continuously on Windows CMD. When I use Linux just do this: tail -f…
-
-2
votes1
answer50
viewsQ: Querys MYSQL BELONGS
I need to make a query in the mysql, within the WHERE I need you to contain the COD_IDENT within a group. That is: COD_IDENT 5 6 7 My query need to return all results where COD_IDENT be equal to…
-
0
votes1
answer44
viewsQ: Making JSON PHP
People I’m needing to create a JSON, but I’m not getting it, look at my code below: $sqlCelula = "SELECT * from tbl_CELULAS WHERE COD_IDENT_IGREJ = 'igj"; $celulaVars = array(); $celulaVars[':igj']…
-
4
votes3
answers5185
viewsQ: How do I know in JAVA that the Resultset result is empty?
I’m running it through the database, and I have a problem SQL return an empty value. It is actually possible for this to happen and therefore I need to keep ready for it. Which method to identify…
javaasked Renan Rodrigues 3,709 -
-1
votes1
answer85
viewsQ: Java working on JSON
Well, I am starting my studies in java, for this reason I am a little raw in the possibility, in libraries and other qualities that exist in programming JAVA. Inside many doubts I would like to…