Questions tagged as 'php'

1
answer

Notice: Undefined index: PHP and Ajax

I'm trying to send a form, but when sending the page does not reload, for that I'm using ajax and then to save them PHP, but I have the following problem, he says Notice: Undefined index: mail in C: \ xampp \ htdocs \ send \ formsubs.php on line...
asked by 20.05.2016 / 10:39
3
answers

Problems with routing in CodeIgniter 3

I am trying to execute a code in CodeIgniter on my computer under Kubuntu. To access the home ( link ) there is no problem. But when trying to access another URL ( link ) the message appears    "The requested URL / client was not found on thi...
asked by 03.01.2019 / 23:35
1
answer

# 1064 MySQL Error

I'm trying to import a .sql file into HeidiSQL. When I try to execute the file to fill in a table already created, I am disabled by the following error:    SQL Error (1064): You have an error in your SQL syntax; check the   manual that corres...
asked by 27.12.2018 / 11:15
1
answer

modal window from table

I have a table as shown in the image, and I want to show a modal window by clicking on the icon of each record, in the modal window it is necessary to search and display the details of the selected record as shown in the image ( is where I in...
asked by 14.12.2018 / 15:12
2
answers

Hopping php html

The problem is that the footer or footer is attached to the images that are going up in the gallery module, but the problem is that it does not make the line jump. GALLERY CODE <!-- gallery --> <div class="gallery" id="ga...
asked by 26.11.2018 / 01:49
1
answer

Warning: mysql_fetch_array () expects parameter 1 to be resource, array given

I am currently learning to program in PHP for some tutorials on YouTube from "the newboston" (maybe they know it) and I am in the database part of mySQL. In my program I try to query data from a table in mySQL but it throws me an error that s...
asked by 13.08.2016 / 22:47
1
answer

How to run .php in python?

Good day, I have the following script in python that is called test.py : import subprocess subprocess.call(["php", "load_data.php"]) The idea is to run another script php in which I do LOAD DATA INFILE to a table...
asked by 18.09.2018 / 01:11
0
answers

Sum of new fields within a foreach

please help me, I need to add the new fields of a foreach since it will modify the current amount that comes from the query, I leave my code in case someone can help me please. <script type="text/javascript"&...
asked by 28.09.2018 / 16:25
0
answers

Tabledit with jquery does not work well

I'm trying to learn how to create editable tables with jquery.tabledit.min.js but I'm really not aware of where my judgments are failing. My table "testC" is: id fisrt last 1 juan a 2 pedro b 3 diago c and my index that I am try...
asked by 21.08.2018 / 19:33
1
answer

How to save the coordinates of a circle of google maps in the database?

As I can save the coordinates of a circle of google maps in the database, I already load the map and with the function onMapLongClickListener it allows to draw a new circle to the user. Now what I would like to do is to be able to store those va...
asked by 02.07.2016 / 02:25