Questions tagged as 'php'

2
answers

SQL query returning null value

SQL Fiddle DB Simulation: link JavaScript: // Auto-salvar $(function () { $.post("actions/autosalvar.php", function (data) { console.log(data); $("#cliente").val(data.cliente); }, "json");...
asked by 24.01.2017 / 19:11
1
answer

DOUBT: Layout split [closed]

I'm new to development and I'm developing a project for learning. Here is a question I have about the division of the layout. What is the best practice? Have separate header / sidebar footer content parts in different files and do include / r...
asked by 20.01.2017 / 16:39
1
answer

Check for database data in PHP

Good afternoon guys, I'm having a hard time displaying an "empty data" message in my code, here's how I'm doing: <?php $dados = Connection::select("select * from clientes where clientnro ='" . $id_cliente . "'"); $conteudo = $dados->fetc...
asked by 20.05.2016 / 22:04
1
answer

insert data passing only $ _POST using Laravel

Assuming that all% of% of inputs have the same name as the column of the database. public function create(){ // o que está abaixo é um exemplo com os dados já populados $arrayDados= Input::all(); unset($arrayDados["_token"]);...
asked by 21.05.2016 / 02:58
1
answer

Create array from dynamic form in PHP

Good evening guys. How can I get information from a form with dynamic array inputs? The dynamic inputs are when the user clicks a button requesting more inputs.     
asked by 21.05.2016 / 04:17
2
answers

Pick up JSON after sending a POST

I'm having trouble getting the response I get after submitting a request via POST function httpPost($url, $data) { $curl = curl_init($url); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS,...
asked by 19.05.2016 / 23:25
1
answer

Codeigniter - Dynamic form

Alright? Well .. I'm a beginner in the world of Web Programming and I'm trying to develop a codeigniter system. could you help me? I'm trying to make a dynamic form in which I have a select that has the months of the year .. and I would like it...
asked by 22.05.2016 / 04:17
2
answers

How to eliminate the space that require_once leaves?

When I use require_once to do the top-of-site inclusion, it leaves an upper space at about 8px, even in CSS I using body {         padding: 0;         margin: 0;         border: 0;     }; the problem remains. Here is my complete CSS code:...
asked by 19.05.2016 / 15:15
1
answer

How to install OPENCV in PHP on a WAMP server?

I need the OPENCV image processing function in PHP, but I'm having trouble installing on windows .. how to proceed?     
asked by 19.05.2016 / 04:39
2
answers

MySQL query and case sensitive

I want my login.php to check if the password is uppercase, because when it exists, it recognizes it, since I have my database with the collation utf8_general_ci . I have already tried collation in utf8_bin and latin1_gener...
asked by 20.05.2016 / 17:39