Questions tagged as 'php'

1
answer

Error uploading a pdf file

I am trying to upload a file to a folder where you can store .pdf files, but only upload the file name to the database, but I can not upload the file. <?php if (isset($_POST['add'])) { if (!empty($_POST['titulo']) && !empty($_P...
asked by 05.12.2018 / 02:37
2
answers

How can I delete and modify records?

The thing is that I'm creating a table where I want the data already inserted can be modified or deleted. The problem is that I have no idea how to do it on my page model. the model is "Model View Controller". Any help? There are some e...
asked by 05.12.2018 / 04:02
1
answer

Php setcookie not working

I have several files: variables.php: in this I have defined the necessary global variables. checkLogin.php: here I check the user, password, etc. and if the user wants to remember his username and password, I create a cookie with the user,...
asked by 03.12.2018 / 21:22
0
answers

function for a consecutive in php

Good morning! I have a problem. They asked me to do a function to count a consecutive. my field of the table in MySQL is called counter For that, when adding a client, you have to put the consecutive one in said field I hope you can hel...
asked by 03.12.2018 / 21:34
0
answers

Insert the value of two combos into a database table

I have two combobox, I can deploy them well, without any problem, the problem is that when I insert them into the database, I only add values from the first combobox, I do not know what I'm doing wrong, maybe something is missing from javascript...
asked by 02.01.2019 / 14:51
0
answers

hide and show hidden divs

In my code I have n number of divs generated dynamically in the left part, where they take as id the name of a columan called user in my database, in my database I have id, user, and in the right side also dynamically generate the divs with the...
asked by 04.12.2018 / 23:38
0
answers

function to do consecutive

good day I have a problem in which I have to perform a function that helps me accommodate some values and perform a consecutive. I explain. I have a related table named def_cliente with a field that is called no_sport. the other table i...
asked by 04.12.2018 / 23:00
1
answer

Implode does not work for me PHP

if( count($usuario['info']['cv']['habilidad']) > 0 && isset($usuario['info']['cv']['habilidad']) && $usuario['info']['cv']['habilidad']){ $html .= '<div style="font-size: 16px; border-bottom: 1px solid #999999; color: #F...
asked by 04.12.2018 / 23:29
1
answer

Problems obtaining the ID of a record within a dropdown

Good day. I am elaborating two forms in which in the first there will be a dropdown to show data from a MySQL table and when selecting one of the records, in the second form your information will appear in a textbox and a dropdown to be updat...
asked by 04.12.2018 / 22:42
0
answers

upload an external video to my website as its own link

I hope I can explain what I want since I am not a programmer, from an external page I take a mp4 video eg web1 / video.mp4, what I want is how to load the video as if it were my own / video.mp4. I do this to make a video list and share in iptv....
asked by 04.12.2018 / 22:39