Questions tagged as 'php'

1
answer

How to return values with JSON in a multiselect

I have the following index, which includes a multiselect (fselect.css and fselect.js) which is shown in the following image: and my code is as follows: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <t...
asked by 21.11.2018 / 19:36
0
answers

how to put 2 tables in sql SELECT *?

I made a mini system to upload photos as profile and cover, but when I put the two includes 1 if it works and the other. If anyone knows help me please I'm a novice in this include ("conexion.php"); $sql="SELECT * FROM 'daniel_banner...
asked by 23.11.2018 / 00:07
0
answers

Run a query every hour with php

I have the following query $query = "UPDATE cat_marca as tabla_c SET tabla_c.precio = (SELECT tabla_c.precio * tabla_b.porcentaje FROM cat_concepto as tabla_a INNER JOIN cat_depreciacion...
asked by 22.11.2018 / 23:01
0
answers

How can I save my data in my sql server manager with php through a registration by voting

Well as the title says, I have a problem which is the following, I have a file with codes in which I would have to save the data of the person in my sql server manager who votes in a forum. when they press to recieve ward I jump first You must v...
asked by 23.11.2018 / 01:00
0
answers

How to get wordpress records and export them in a .csv with php?

I have been trying to get user information from a wordpress database and export it in a .csv file This is the code I'm using: <section> <div> <?php $array_export_cvs = array(); $array_e...
asked by 21.11.2018 / 04:32
0
answers

I need to keep the data on screen when refreshing

, Good evening, I'm in the process of putting together a hotel website for the school, but I have a problem, the page when I start, the rooms appear in green, when I press a room it turns red and sends the data to the BD. But when refreshing the...
asked by 21.11.2018 / 04:35
0
answers

Pass Hebrew data from PHP to Android

I am trying to pass a list of data from Mysql to Android . A part of that List is written in Hebrew and is stored in Hebrew with utf8 coding: When I print that list in Json I get question symbols: [{"Img_ID":"10","Img_...
asked by 21.11.2018 / 11:33
2
answers

Go through a MySQL table in PHP

I have the following table, called test, in MySQL : Now I would like to rescue this data in PHP , but I can not clarify my idea about how is the most correct way to do it. That is, I'm not supposed to know how many rows or f...
asked by 21.11.2018 / 09:03
2
answers

Empty fields are added to mysql from insert in php with modal windows

What kind of friends am I struggling with a problem since 2 days ago? Empty data is added to my table but in the insert I do not even call that field it does not even exist. I am following this tutorial to the letter and even then it do...
asked by 27.11.2018 / 18:24
1
answer

Pass variable ajax to php and how to make the call in php

Hello I have the following problem I have a dynamic select that gives the user an option and depending on that option throws other options are 2 select this is the code <div class="container"> <div class="row"> <...
asked by 27.11.2018 / 19:01