Posts by Marcos Vinicius • 7,188 points
309 posts
-
-5
votes1
answer2243
viewsQ: How to insert XML data within a MYSQL database?
Generating the file XML with PHP get the following result: I’d like to send this now to a database MYSQL by inserting the columns in the table first Imovel and then filling these columns with the…
-
-1
votes1
answer136
viewsQ: How to convert characters within XML?
I have a code that is giving me problems because it is generating errors in the execution. I need the XML convert or replace characters but do not know how to do it at runtime. I am trying to do so…
-
0
votes1
answer53
viewsQ: Are there restrictions on XML rendering?
I have a file of 960 records where each record has 175 fields, it’s a real estate form. When I ask to loop the 960 records with only 10 fields enabled, it generates an XML error as per photo. //…
-
-5
votes1
answer604
viewsQ: How to integrate webservice with real estate website?
I am a programmer but I did not get to do the programming logic part and I am struggling on a certain subject. I need to integrate real estate information into a website through data contained in a…
-
5
votes2
answers2318
viewsQ: How to make a mysql query from an array coming from html?
I know that $cores me return the form values. What is the best way to make a query in the database with the array values $cores to pick up the cars that are present in that color? <?php //PHP…
-
1
votes1
answer126
viewsQ: How to record variables from this array?
I’m developing a system that uses a web-service to recover the data needed to feed you, in the real estate segment. I am learning PHP and have many problems learning arrays. You could show me how I…
-
6
votes2
answers3966
viewsQ: How to send checkbox data to a mysql query?
I don’t know how to start this whole process of sending multiple data for a query in the database. I always send an item from each guys but I never sent several items of the same guy. The image…
-
2
votes2
answers340
viewsQ: Apply jQuery effect to the current HTML element?
I have the following code that when I put it to run, it gives display:None and display:block on all elements and I would like you to apply this effect only on the current element: //jQuery $(…
-
1
votes1
answer103
viewsQ: CREATE DATABASE via a PHP script?
How could I create a database every time for example a user, in this case, a company registers on my web system? Like, today, the only thing I have is administrative access data to FTP and database…
-
5
votes7
answers762
viewsQ: Randomize results with PHP
I have such a structure (which I created): <div class="banners"> <?php echo do_shortcode("meubanner_1")?> <?php echo do_shortcode("meubanner_2")?> <?php echo…
-
0
votes3
answers2076
viewsA: Wampserver 2.5 installation/run error
Normally the installation of both 32bit and 64bit Wampserver should not present problem at the time of its execution. The problem could be some antivirus or viruses or the two of them together. If…
-
1
votes1
answer113
viewsQ: Select specific items within a while loop
I have the following HTML inside a while PHP: <article data-id="1">...</artcile> <article data-id="2">...</artcile> <article data-id="3">...</artcile> <article…
-
0
votes1
answer60
viewsQ: Show Featured Image with Crop at index.php
I’m programming on this link http://catalogos.axitech.com.br/ and need to solve this structure since 1 to 4 squares has an image highlighted almost twice the size of other images. I know more or…
-
8
votes3
answers1513
viewsQ: Is there an application security flaw when using AJAX?
I am a programmer HTML/CSS/PHP a few years and by incredible and more impossible it seems, I’m just entering the world of Javascript with jQuery and AJAX now. My question is whether the security…
-
3
votes1
answer49
viewsQ: PDO showing connection data if catch trigger inside Alert(result)
Because in my alert(result) ajax the catch of PDO is showing my connection information to the database as shown in the following image: http://puu.sh/bel2Z/e7f230ab8d.png Code: $pdo = new…
-
3
votes3
answers4991
viewsA: Back to Top of page
As shown in the following link http://jsfiddle.net/z3w0sbxr/ jQuery solution, but how do you want to use it? With jquery, with pure html without any effect? ... Follow my example with jQuery.…
-
1
votes3
answers1277
viewsA: Differences between Padding and Margin
I tried to explain in this example that follows: http://jsfiddle.net/v71pdnww/1/ When executing the following page as html you can see the effects and the explanation: <!doctype html>…
androidanswered Marcos Vinicius 7,188 -
1
votes2
answers518
viewsA: Jquery: Fadeout(), fadein() and Ajax calling do not work at the right time
Just to complement the @helderburato answer, to solve your footer problem, since your <div id="prod-container" ... has a minimum height of 350px, you can put a div to embrace the same with this…
-
4
votes1
answer57
viewsA: Install Codeigniter 2.1
First thing: there is an official Codeigniter website (https://ellislab.com) and there is also a place where you can find all the documentation in English…
phpanswered Marcos Vinicius 7,188 -
1
votes2
answers2245
viewsA: Insert Multiple record in PHP MYSQL table
I did some tests whose at this link http://axitech.com.br/teste.php I managed to have all the records returned within the while reason why I think now you will be able to do the INSERT without…
phpanswered Marcos Vinicius 7,188 -
1
votes1
answer4075
viewsQ: How to put time and date in input fields with jQuery and jQuery UI?
How to include jQuery UI style files and Javascript files so that date and time inputs show pt_BR fields perfectly? You need to modify library attributes?
-
1
votes1
answer4075
viewsA: How to put time and date in input fields with jQuery and jQuery UI?
Here is the code whose styles can be placed in the header and the javascript libraries along with the codes and attributes can be placed in the footer or external file and serves for any system that…
-
7
votes1
answer1542
viewsQ: Upload image data via ajax
<script type="text/javascript"> $(function(){ $("#oformulario").submit(function(e){ e.preventDefault(); var nome = $("#nome").val(); var email = $("#email").val(); var obs = $("#obs").val();…
-
4
votes1
answer367
viewsA: How to make Footer stay in the footer after using AJAX?
Good afternoon Rafael, you probably forgot (I don’t know how to use technical language) but, probably went white and did not remember that a position:absolute is always accompanied by a parent…
-
0
votes2
answers304
viewsQ: How to access specific <ul> items with :Nth-Child()?
How can I access items from 2 to 2 in my list using the :Nth-Child() parameter or if it gets easier, access and customize even items?
-
2
votes1
answer855
viewsQ: How to achieve a slideToggle effect with jQuery?
In this link, i have red stripes in the specialty. I would like to ask what effect I will use for that one div replace the contents of individual stripes with a type effect slideToggle from left to…
-
4
votes3
answers7802
viewsA: Why did replacing all my "mysql" with "mysqli" stop my project?
Here I present according to the documentation one of the exact ways of working with mysqli_ which is quite different from the primary consultations of mysql. First, you can already write the…
-
3
votes2
answers196
viewsQ: How to write this Mysql code correctly?
I am trying to adapt tomysqli_ sincemysql_ can be discontinued at any time now that new concepts likemysqli_ and Pdo have emerged. I am trying to write this script that pulls the database…
-
8
votes3
answers9603
viewsA: Create custom page for user registration
** It is better to go through the path I mentioned in the reply, because to modify the login structure of the Wordpress panel, put at risk your site and its users in terms of security and with…
wordpressanswered Marcos Vinicius 7,188 -
3
votes2
answers1694
viewsQ: Check fields when giving Ubmit and if error return to field
I have a very long form and would like to click on Ubmit and the field is in error, that the page can scroll (jQuery) to this field so that the person knows exactly what is wrong. I started out that…
-
2
votes2
answers290
viewsQ: Autocomplete for forms
Do you know of any web tools in Chrome or Firefox that auto-complete forms with random text for testing? I have a form of 35 fields and each time I submit for tests, I have to complete it again.…
-
3
votes2
answers2234
viewsQ: Check variables in jQuery?
There is a smarter way to write this verification code, the IF? jQuery("#oformulario").submit(function(){ var nome = jQuery("#nome").val(); var email = jQuery("#email").val(); var telefone =…
-
7
votes3
answers367
viewsQ: jQuery - Typical duplicate use situation of the same code. How to proceed?
Being here doing my sites on php/mysql/html/css and learning more and more about jQuery I found myself in the situation where I should use the same code for two ids distinct. How to proceed when you…
-
2
votes8
answers27292
viewsA: PHP does not send accents to Mysql database
A few steps are needed and I’ll show you here: 1 - Make sure your entire system structure is being encoded in a single charset: Example: 2 - To make sure that everything will go well with the…
phpanswered Marcos Vinicius 7,188 -
1
votes3
answers25078
viewsA: Resize images using Bootstrap
Images are not responsive by default in Bootstrap, so you must specify a class for all images you want to make responsive. It’s about the class img-responsive. By adding it, your images will begin…
-
2
votes1
answer1797
viewsQ: How to call code in jQuery from a form request?
I have a system with several forms calling jQuery and ajax to solve the problems and register the recovered data in mysql database. As a beginner, I am having problems due to lack of knowledge. What…
-
3
votes1
answer500
viewsQ: How to check variables with jQuery so that they are not sent empty?
I am learning about jQuery and have already started making Ajax requests to register the information in the mysql database. I have a code that has several variables and I would like to ask how I can…
-
1
votes3
answers501
viewsQ: How to resolve this situation in the layout part?
I wonder how, through the tools of Photoshop CS5(CS6) I can make either white or black arrive in the color pointed by the hexadecimal code which is also that of the larger color image. I tried to…
-
6
votes2
answers1104
viewsQ: What is the best way to upload files with Ajax?
I could take a code on the Internet paste here and try an answer but I prefer that help me with the logic and programming of a script to upload images in Ajax. I don’t know how to start, I’m a…
-
1
votes1
answer262
viewsQ: What is the Pinterest content effect called?
I’d like to ask you what the effect is called Pinterest content that some items are but on top, other items are lower, nothing with a horizontal line defined? Can be seen below:…
-
3
votes3
answers1758
viewsQ: Do I need to insert an HTML tag with jQuery to encapsulate the code below?
How to insert an HTML element after opening and before closing the jQuery tag? That within a each: $("#main_div").append('<div class="Ftitulo">'+item.titulo+'</div>')…
-
1
votes1
answer2179
viewsQ: Ajax is returning me an array and now, how to separate?
My Ajax request is returning 3 records of a PHP query (yes, I’m sure), so we have arrays of the type: array 1 ["João", "19/05/1986", "masculino", "Programador", "Campo Grande"] array 2 ["Maria",…
-
7
votes1
answer4635
viewsQ: How to recover query result variables via Ajax in PHP?
I made an appointment via Ajax that returned me the variables within the PHP: // Variaveis $nome = $Fetchi['nome']; $email = $Fetchi['email']; $tipo = $Fetchi['tipo']; $senha = "Digite uma nova…
-
4
votes3
answers451
viewsQ: PHP execution via Ajax jQuery
I am placing some instructions inside the same PHP file that are executed according to the variable value send received, at least that’s what I thought. This code has two of these instructions, one…
-
3
votes2
answers8678
viewsQ: Receive responses from jQuery’s Ajax request
When I send an Ajax to run my PHP script the only thing it returns is Success if the script was successfully executed or error if the script was not successfully executed. Question: How to capture…
-
0
votes2
answers117
viewsA: How to solve character problems in php require?
I found problems just related to characters that enter before require. In Dreamweaver there is BOM that inserts these characters automatically when saving the file, so you need to disable. Problem…
phpanswered Marcos Vinicius 7,188 -
0
votes2
answers117
viewsQ: How to solve character problems in php require?
Look at the picture: My system has those basic function buttons of a CRUD which are included in that part of the table through a <?php require("funcoes.php"); ?>. However, in doing the require…
phpasked Marcos Vinicius 7,188 -
1
votes3
answers237
viewsQ: Apply cascade validation functions
I’m developing a system and want to make validations through functions. I have the function checkUsername who consults at the bank to return to me whether or not to register with that username. And…
-
2
votes1
answer6245
viewsQ: How to use bootstrap for font sizes?
I would like a didactic answer on how to use Bootstrap to determine font sizes. To help, I am using exactly the following medias-queries: /* Portrait tablet to landscape and desktop */ @media…
-
2
votes1
answer43
viewsQ: Remove hyperlink from an image with jQuery
Is it possible to remove the hyperlink from this image with jQuery? It may be simple, I even searched in English but I couldn’t find the proper code or instruction. <a href="sushione2p.jpg">…
jqueryasked Marcos Vinicius 7,188