Posts by allan araujo • 541 points
53 posts
-
1
votes1
answer2611
viewsQ: How to create app for android with Html5
I want to start an app with Html5 that looks like a blog where you can publish tutorials on your own but in the app how you could do it in Html5. The example below of how the app would be. Each…
-
-1
votes1
answer1120
viewsQ: How to transform a div and input text?
I wonder how I could turn my dynamic form’s Divs into input text value when it is clicked on Submit . My form <div class="container"> <h1 class="restaurant-title">Peixaria</h1>…
-
0
votes0
answers253
viewsQ: How to work with dynamic form in jquery?
I wonder how I can work in a simple way with this dynamic form , type the categories comes from the database via jquery and ajax and appears on the screen as a form for the user to select your…
-
2
votes1
answer1074
viewsQ: Dynamic form and send to mysql via jquery and ajax
Already open some questions about it , I was helped , but kind of the way they spoke only serves if the form is normal , with inputs with name"something here" my form only has an input"text"…
-
0
votes1
answer220
viewsQ: error in sending data via ajax
I’m not able to send the data to mysql via ajax, I don’t know where part of my code could be wrong. My index in which categories are listed from the database via jquery. <div…
-
-2
votes1
answer151
viewsQ: Sending php/jquery data to mysql
How could I send the data from the index.php screen to mysql , being that the javascript/jquery was used to do this function that is being shown in the image below. my code is below : My index…
-
0
votes0
answers259
viewsQ: How to print in html in the form of a tax coupon?
How could the following table imprint on the html screen in the form of a fiscal coupon ? Type of the next image. on the side of the meal the amount.…
-
0
votes2
answers185
viewsQ: How to send form data via _SESSION?
How can I send data from the first form to the second and then send to mysql ? I tried everything, and when I send it to the database, only the data from the second comes in. I will put down my…
-
-2
votes1
answer96
viewsQ: How does every click on the checkbox count for a number?
I wonder how I can do for every click I give worth one by one number , type instead of I put an input number next to the checkbox I would like to make each click I give in the checkebox worth for a…
-
-5
votes1
answer128
viewsQ: How to break table row with mysql data
Hello I made a request system more would like to know how I can do to break the line after the commas . So when I print the order in the kitchen it comes as follows Tambaqui rib : 1 Tabaqui Frito :…
-
-1
votes3
answers1495
viewsQ: How to form in stages?
I’m creating a system and wanted to know how to make a form per step , it works by checkbox and input and type just wanted to know how to pass the data from the first form to the two to be inserted…
-
0
votes1
answer80
viewsQ: How to use project done for localhost on Tablet?
How can I use a project I created in PHP to be used only in localhost also on my tablet. Make the connection between them?
phpasked allan araujo 541 -
-3
votes1
answer197
viewsQ: A checkbox can have more than one value?
I wonder if a checkbox can have more than one value example type below for one with the name of the checkbox and another with the price . I am grateful already. <td width="280"><input…
htmlasked allan araujo 541 -
1
votes1
answer74
viewsQ: Other Type of checkbox
How could I make a checkbox that every click on it , is the same as a value entered , so I do not need to put in the input next to my checkbox the desired number . In case I haven’t been clear…
htmlasked allan araujo 541 -
-2
votes2
answers129
viewsQ: How to display id as form counter
I’m creating a form counter and I’d like to know if I’m going the right way ? This is my select query <?php error_reporting(-1); ini_set('display_errors', 'On'); //Criar a conexao $link = new…
-
1
votes1
answer413
viewsQ: How to store multiple checkbox
I am creating a system and how could I store multiple checkbox and inputs in mysql ? I know I can do it this way but only if it goes to a column , in my case are four as could do…
-
4
votes2
answers1241
viewsQ: Store multiple select in a single column with PHP/javascript + Mysql
I’m having trouble storing multiple select in the same table field. In this case, when filling the form and marking more than one select, it stores only one and the input quantity field that is in…
-
0
votes1
answer23
viewsQ: Because the form only worked once
Hello I made a small form and it only worked once , I didn’t change the code after that and it doesn’t work anymore what it could be ? <?php error_reporting(-1); ini_set('display_errors', 'On');…
-
-3
votes2
answers1008
viewsQ: How to send javascript data to mysql
I’m only having a little difficulty , because the data is going only to the same table ,type and a part is duplicated . Well it’s all the code the query, the form and the javascript . <?php…
-
1
votes4
answers691
viewsQ: How to send form data to mysql?
I am trying to send the form data to mysql but give error Notice: Array to string Conversion in C: xampp htdocs Requested projects.php on line 16 The line 16 is this $sql="INSERT INTO…
-
-1
votes1
answer2911
viewsQ: How to Click on Ubmit, Open a Pop up
I would like to know how I can do that when I click to order open a modal type , with the request that was made via form for me to click on print . Even the form sending to the database. this is my…
-
0
votes2
answers1197
viewsQ: how to insert data into two tables at the same time
I wonder how I can do to insert data into two tables at the same time , well I do not know if it is right the way I am doing it is not giving any error but also did not insert anything . The code…
-
-1
votes1
answer409
viewsQ: How to display the form number in php
I am creating a small cafeteria command system , and I would like to know how to make each new form to display the number of the current where the name commands , so I do not have to enter the…
phpasked allan araujo 541 -
2
votes1
answer7815
viewsQ: Insert date and time into mysql automatically?
I am creating a system and I would like to know type fill the form below and how to insert in mysql the time and date as it is in the operating system . without having to input a date and time into…
mysqlasked allan araujo 541 -
-1
votes2
answers171
viewsQ: How to create a dynamic select to use on localhost
I’m making a restaurant management system , but I kind of want the select to be dynamic , type not always the customer wants a food only , so I wanted to know how I can do to go adding every time I…
-
0
votes1
answer927
viewsQ: How to make a dynamic select?
I’m doing a restaurant sisteminha, and he’s a commando. But, like, there’s a select of food orders, but I was wondering how I can do for when I click on the + sign appear another select under what…
-
0
votes1
answer77
viewsQ: It is unusual to have a class called mysqli the getInstance() method return the Fatal error: Uncaught Error: Call to Undefined
Hello I’m making a system to search list the data in the database for the month only it give the following error Fatal error: Uncaught Error: Call to Undefined method mysqli::getInstance() and in my…
-
4
votes2
answers7594
viewsQ: How to redirect page after login in php?
Hello I would like to know how could redirect page after login of the user. It has the Index that is the code below and here comes other pages like . .php requests, booking.php and others only all…
-
0
votes1
answer40
viewsQ: How to send registered data
Someone could give me a light , I’m creating a bakery system and type in it has six computers and five stay in the box and one at the bottom of the bakery . These five computers have a screen as…
phpasked allan araujo 541 -
0
votes1
answer9732
viewsQ: How to Remove Fatal error: Uncaught Error: Class
Hello I am creating a system of envy and is always giving this mistake ,Fatal error: Uncaught Error: Class 'cRelatorios' not found in C:\xampp\htdocs\Projetos\relatorios.php:170 Stack trace: #0…
-
0
votes0
answers318
viewsQ: How to remove Parse error: syntax error, Unexpected 'public'
Hello I would like to know how to get this error out of my query <?php public function RetornaAtualizacoes(){ if($_SERVER['REQUEST_METHOD'] == 'POST') { try { $Query = "SELECT s.setor, s.usuario,…
-
-1
votes1
answer111
viewsQ: How to make page transaction
Hello I’m making a system in php and I would like to know how I can make it transition between pages , type has registration, change and report , how can I put link pages in input form in html .…
-
3
votes1
answer460
viewsQ: How to view the data registered on another page
Hello friends how could make registered data appear on another page in a table ? That is the code <form method="post" action="index.php" onSubmit=""> <fieldset> <legend>Sistema de…
-
1
votes1
answer78
viewsQ: Insert data into database
How could I insert the data from the image below into the database I created . is not giving and I only entered this 0. that’s the code <html> <body> <head> <meta…
-
0
votes1
answer115
viewsQ: Error in the database
Well I’m developing an IT inventory besides giving some error , when inserting an 80 hard drive it only saves the zero and the other data is not entered either. how can I fix this . That is the code…
-
6
votes1
answer100270
viewsQ: How to resolve Call to Undefined Function mysql_connect() error
I’m doing an IT inventory for registration and I want to connect to the database, but it’s giving this error: Fatal error: Uncaught Error: Call to Undefined Function mysql_connect() in C: xampp…
-
4
votes4
answers1225
viewsQ: How to block website and leave free only for some ips?
I would like to know how I can block my site that is under maintenance and leave free access to two ips, I’m doing this way , but it only leaves free for one. I want you to be free for both of you .…
-
2
votes1
answer501
viewsQ: How to list multiple columns using Inner Join and left Join?
How can I get data from two tables? Example. the fields `assunto,nomeremetente,cpfremetente,observacao` da tabela **protocolos** and the datacriacao table protocolo_documents is of the…
-
0
votes0
answers135
viewsQ: How to show what was selected in the post method
Wanted to display on the screen what was selected by the user in the post method, how could do this. this is my method ,I want to show on the screen the chosen option , as select and input Month .…
-
1
votes2
answers98
viewsQ: Instantiation problem using Pdo/Fatal error: Uncaught Error: Class
The Following error appears when trying to instantiate and call a certain method: Fatal error: Uncaught Error: Class 'Usuario' not found in C: xampp htdocs Reported projects.php:126 Stack trace: #0…
-
1
votes2
answers528
viewsQ: How to show the number records in PDO using COUNT( * )?
Hello I’m doing a system that lists in the database the latest updates , even it’s all right , only I wanted to print in the table the number of total updates that the user did . How can I do that ?…
-
1
votes1
answer133
viewsQ: How to order query using PDO?
How can I sort my query from the latest to the oldest date. This is my Query ? public function RetornaAtualizacoesFuncionarios($data,$codusuario){ $WHERE = array() ; if( !empty( $codusuario ) )…
-
1
votes1
answer62
viewsQ: How to use DNA?
I wonder where I can put the AND tipregistro = 'mysql' so that when you have !empyt and when you don’t have to bring the tipregistro = 'mysql' this is my query public function…
-
0
votes1
answer187
viewsQ: How to query Pdo by date using input Month?
I would like to know how I can make an appointment for the month chosen along with the name. Like if I choose August it will only come month of August and so on and so forth. This is the query…
-
1
votes1
answer630
viewsQ: How to make the return of a Query (PDO)
How can I make the selected Month input bring me the selected user month and year? It is returning the user but when I input the Month to bring the user data for a given month does not come. this is…
-
0
votes1
answer666
viewsQ: How to create a dynamic query in php
Hello I would like your help , I am creating a form with php and mysql , in this form has the request screen , type has the fields to be filled with the month and name , on the hill has the month…
-
-4
votes1
answer178
viewsQ: Syntax error when testing the query in phpmyadmin
Error solved . Query SELECT i.codiniciativa, te.nome as nome_tema, te.codtemaestrategico as cod_te, p.observacoes as per_obs, te.sequencia as tem_sequencia, p.sigla as per_sigla, p.nome as…
-
-1
votes2
answers94
viewsA: Multidimensional Json for Object in C#
Use fastJSON [^] ' s Parse ( ) method that will give you Dictionary <string , object> representation of the JSON that you can cross.
-
1
votes2
answers3539
viewsQ: Listing folder files with PHP
Hello I made this program that lists the photos of my directory , only I wanted that when clicking on the list of the photo appears the photo on screen with php. <?php $path = "C:\FOTOS…
phpasked allan araujo 541 -
1
votes0
answers92
viewsQ: How to create a dynamic query with Left Join?
How can I leave this query dynamic , she is already working only that she only lists one semester each year and wanted her to list two, like when I select the first she lists the first and when I…