Posts by Mike Otharan • 896 points
45 posts
-
0
votes2
answers41
viewsQ: Display default image if not in the database
I made a condition so that when there is no image in my database, return a standard image, however, I am having a small problem in my syntax and could not find a solution so far. The problem is I’m…
phpasked Mike Otharan 896 -
-2
votes2
answers46
viewsQ: Doubt about domains
I have the following question. I have a control panel where the user can add a lot of information on your site, however, the user site stays in my domain as for example…
web-applicationasked Mike Otharan 896 -
1
votes0
answers26
viewsQ: How to fix accent error when sending a php email?
I’m having problems with accentuation when sending an email with php. This is my PHP code public function enviar_imovel(){ $data['title'] = 'Enviar imóvel';…
phpasked Mike Otharan 896 -
0
votes2
answers203
viewsQ: How to get the exact date and time after updating a record?
Whenever I update user data, returns me the wrong time, for example: I updated the user profile at 16:41, but in my database it appears like this 2019-10-15 16:10:53 I’m using mysql along with…
-
-2
votes1
answer77
viewsQ: How to add a specific year to the current year in Javascript?
I want to create a javascript function that adds the year 1993 + current ano_and that inserts the result into my <span class="title_25anos" id="calculo_ano"></span></h1> And this…
-
1
votes1
answer282
viewsQ: How to pass a php variable inside a Whatsapp link?
I want to create a Whatsapp button that contains the user number registered in the database, but I’m not able to link my variable in this link. Contato:</b> <a…
-
2
votes1
answer230
viewsQ: How to add a Whatsapp link to a contact
In my datatable there is a column called contacts, I want to add a link so that when the user clicks there, take the number for the variable and call with the Whatsapp link <th><?=…
-
1
votes1
answer214
viewsQ: How do I sort my datatable id downwards?
I need to list all id decreasingly on my jQuery datatable. Which is the best way to it? <script type="text/javascript"> window.properties = <?= json_encode($ci_properties) ?>;…
-
2
votes1
answer125
viewsQ: How to leave the date with Brazilian standard in Codeigniter 3?
Folks I’m developing an application that picks up the registration date from the register. But it’s picking up the date with American standard YYYY/mm/dd as I fix it in codeigniter ? Follow example…
-
9
votes3
answers22536
viewsQ: How to make a Mask in pure Javascript?
I need to create a mask (mask) in the phone contact forms that shows the following result in the form (00) 0 0000 - 0000 in Javascript without using Jquery. <div class="row clearfix"> <div…
-
0
votes1
answer455
viewsA: Open facebook page Ionic
I did so on my application and it worked on IOS E on Android <ion-list> <a href="https://www.facebook.com/GuiaCorretorPlus/"><ion-item> <ion-thumbnail item-start> <img…
-
0
votes1
answer56
viewsQ: How to apply my Css to a child tag
Inside my tableRow there is a tableHeader and I want to apply my CSS within the tableHeader How shall I proceed ? <tr> <th><?= $properties['propertie_id'] ?></th>…
cssasked Mike Otharan 896 -
0
votes0
answers59
viewsQ: How to store an Object in Firebase and use in Ionic 3
I want to store the following data in Firebase and use it in Ionic 3 but have not found any clear documentation that can help me. Someone can give me a way ? Follow the code showing the Object…
-
2
votes2
answers843
viewsQ: How to activate version control in Visualcode?
I’m having difficulties in using Visualcode version control, all the changes I make in the system are not going to version control, my question is if I need to install a specific extension for it to…
-
1
votes1
answer1203
viewsQ: How do I change my IONIC app id to add in Google Play Console?
I’m trying to publish my application in Google Play Console, but when adding the SDK appears the following message. Use a different package name. "io.ionic.Starter" already exists in Google Play.…
-
0
votes0
answers163
viewsQ: React-materialize input is not working
I am facing the following problem, I created a site using only materialize and then I used the React library in the template, but now some fields are not working and one of them is the input I had…
-
0
votes1
answer1485
viewsQ: How important is . env in React?
I am developing a website in React and I came across the file . env and it contains the following script NODE_PATH=./src What would be your importance in React ? Because my server only worked when I…
-
0
votes2
answers60
viewsA: Is it possible to create a class within a list?
Follow an example below. In your.html file put like this, remembering that it is not recommended to use the style within html, but rather direct by css. <style> .classth1{width:50%};…
-
5
votes2
answers3295
viewsQ: How do I stop sending package-lock.json by gitignore?
I can’t "ignore" sending package-lock.json for gitlab, when I run git status it appears to me to be sent. Follow a print showing the .gitignore and my terminal when running git status. File .…
-
0
votes0
answers124
viewsQ: How to use tabs-bottom in Ionic V1
I’m developing an application in Ionic v1 but I’m not able to put tabs on Botton android, by default on Ios it already comes out in the bottom. Follow my code and an example image. <ion-view…
ionicasked Mike Otharan 896 -
0
votes1
answer590
viewsQ: Doubt about ajax url
I am developing a simple crud with ajax and jquery and came across the following question... $('#btnDelete').unbid().click(function(){ $.ajax({ type: 'ajax', method: 'post', async: false, url: url,…
-
1
votes1
answer2112
viewsQ: Why shouldn’t I use Jquery with React?
What would be the downside of using jQuery with React? Because I am transforming a site that is all jQuery for React and I see in many forums people saying that it is not a good practice to use…
-
1
votes0
answers86
viewsQ: Should I use HTTPS or SSH in Gitlab ? What would be the differences?
I noticed that in gitlab there are two ways to clone a project, one by SSH and the other by HTTPS, my question is what would be the difference between them ? For safety what would be the recommended…
-
3
votes1
answer4193
viewsQ: React Input Mask how to put the ninth digit?
I downloaded the package npm i React-text-Mask --save did the import in my Contact file but by default it comes out like this (55) 5555-5555 I’m having trouble putting this standard (55) 5 5555-5555…
-
4
votes1
answer3776
viewsQ: How to create MASK with pure JS in React
I am transforming a site HTML, CSS and jQuery in React but I saw that the use of jQuery is lagged in React since it is possible to create some components faster and simpler, my doubt is how to…
-
1
votes1
answer60
viewsQ: Adjacent JSX React syntax error
I created a component that there are six images but when compiling my code returns me the following error. And this is my source code for the Imovelphotos component import React from 'react';…
-
3
votes1
answer179
viewsQ: How to work with GIT correctly?
I am starting a team project and my question is whether the order I am following is correct when working with the GIT. I run git pull origin master //Aqui baixo os arquivos mais recentes do projeto…
gitasked Mike Otharan 896 -
-1
votes1
answer996
viewsQ: Module not found: Can’t resolve 'Assets/css/custom.css'
I have a small problem when starting my project in React, when running the command Yarn start the terminal returns me the following error ./src/index.js Module not found: Can't resolve…
-
1
votes1
answer1082
viewsA: How to make a div expand even if there are others below
One of the most useful and cool tricks a web developer can learn is to use expandable Divs, also known as Collapsible Divs. This effect gives the user the possibility to expose on the page only the…
-
1
votes2
answers256
viewsQ: What tools should I use to create an android app
I’m starting in mobile development that will be done in Java or Kotlin and my question is what tools I can use both in the design part and in the database which are the main technologies ?
-
5
votes1
answer52
viewsQ: Publishing packages in the NPM repository
How to publish a package I made in the npm repository for other programmers to test ?
-
0
votes2
answers100
viewsQ: How to search for a particular package by npm?
I started a project in React and want to know how I search for a certain package installed directly by npm ?
-
0
votes1
answer476
viewsQ: How to remove Node in Arch linux / Linux Manjaro
I recently started a project but my Ode has a small error and I need to remove it. The following question is how to completely remove Node.js using the Arch-linux terminal ? And when executing the…
-
11
votes2
answers2106
viewsQ: What is the importance of README.Md in Git?
I have some doubt about the use of README.Md because I have never used in any project and I want to know what is its purpose.
gitasked Mike Otharan 896 -
2
votes1
answer416
viewsA: How does Maps draw polygon automatically when typing the neighborhood name?
To create a polygon we need to know the area to be delimited we need coordinates; if we have the coordinates that will define the contour of the polygon the work becomes easier; in our case as we do…
-
2
votes1
answer4801
viewsA: How to encrypt password with Python
First, we need to install the bcrypt module, because it does not come by default. For this, just type the following command in the terminal: sudo pip install bcrypt Now we just use the module. I…
-
0
votes5
answers939
viewsA: Centralize H3 in the Section
Try it like this. <style> .text-center{ text-align: center; } </style> <h3 class="text-center"> texto exemplo </h3>
cssanswered Mike Otharan 896 -
3
votes1
answer238
viewsQ: Difference between base_url(); and base_url('Assets/example');? >
What would be the difference between them ? Because in my project I used both and could not identify the difference.
-
0
votes2
answers3746
viewsA: Change background color div
Add a new class to your div for example <div class="background"> And in the CSS code do so. <style> .background{ background-color: blue; } // Caso não funcione adicione o !important no…
-
1
votes1
answer214
viewsQ: How to redirect the user to another page with Codeiigniter?
I’m starting with Codeigniter and I’m having a little difficulty linking the pages. I’m doing it this way: <li class="nav-item mr-3"> <a class="nav-link page-scroll" href="<?php echo…
-
3
votes0
answers48
viewsQ: You can use different versions of PHP on lampp
I am using linux Manjaro with lampp local server, however the version of my php is 7.2 but I want to use 5.6 to do some tests, my question is if it is possible to do this procedure using lampp ?…
-
0
votes1
answer332
viewsQ: As defined in the database the confirm password field
When registering in the system the user will have to confirm the password to register, however I have no knowledge of how to proceed and if this is done with some function in PHP or some validation…
-
1
votes3
answers2099
viewsA: How to change right when scrolling on navbar
Follow the script I used on one of my pages <script> $(window).scroll(function () { if ($(this).scrollTop() > 50) { $('.navbar').css("background-url", "dist/img/logo1.png") } else {…
-
0
votes1
answer89
viewsQ: Is it possible to connect my Laravel app with Vue or Angular?
I started a project that will have an application in the future Vue or Angular. My question is whether it is possible to make this link between the system and the application and whether this "link"…
-
1
votes1
answer217
viewsQ: Error installing Ionic 3 by NPM
I am using linux Manjaro and while installing Ionic by command sudo npm install -g ionic return me this error. [mike@mike-pc ~]$ sudo npm install -g ionic [sudo] senha para mike: npm WARN registry…