Questions tagged as 'php'

2
answers

Ion Auth create user (not administrator) without login

Well, my question is this, I have implemented a login system using the fantastic Ion Auth library, which brings with it multiple options, including an administrator panel to create administrators, groups or non-administrator users within of thos...
asked by 27.04.2017 / 07:20
1
answer

Parse error: syntax error, unexpected '=' (T_DOUBLE_ARROW), expecting ',' or ')' in ... on line 2

I have literally 2 hours looking for a solution to this error (not to mention the constant disconnections of my FTP client online). Code: <?php $error = array(result => "error", msg => "Alias not specified", url => "https://mc-p...
asked by 21.04.2017 / 19:09
2
answers

Send Parameters by URL

Code: I have 2 variables <script type="text/javascript" src="code.jquery.com/jquery-3.2.1.min.js"></script> <script> var var1 = $("#var1").val(); var var2 = $("#var2").val(); $.ajax({ url:'recibo.php', data:{var1:var...
asked by 27.07.2017 / 18:15
1
answer

Save image in a server folder and save the path in MySQL with PHP and AJAX

I try to save an image in a server folder and then save the path in my DB to later show it in a html table. I'm working with MySQL , PHP and AJAX . I have seen several ways to do it on the web but I have not b...
asked by 26.07.2017 / 02:48
1
answer

Doubt with phpMailerAutoload SERVER - CLIENT: 220 smtp.gmail.com ESMTP

I commented that it is the first time that I send emails using gmail with phpMailer. But I have a question, when I send an email, it sends me this message: 2017-09-06 15:20:01 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP e65sm92479oia.15 - gs...
asked by 06.09.2017 / 15:32
2
answers

Edit rows of a table with jquery

I'm starting to work with JQUERY in my project in which I generate a table from a function with AJAX, for each record besides the data, I generate a column with a button to edit, the problem is that I need to press the edit button; on the same v...
asked by 07.09.2017 / 19:51
1
answer

Gif Images - Giphy Api PHP

Hello stack overflow people I have a problem with this Api of Giphy what happens is that I do not get the image that I'm pining but it does not give me any good error I hope you help me see my error <?php $url = file_get_contents('http...
asked by 08.09.2017 / 16:08
1
answer

How to make the label of the X axis in ChartJs look complete and also horizontal

I have a problem showing the horizontal labels in the chartjs, try changing the size of the letter and obviously reducing it, but what I really want is that apart from the size being reduced, the label also fits in two rows of be necessary. And...
asked by 16.06.2017 / 14:09
1
answer

I need to print several querys in different columns in an html table

I have a large table and for each column I need a different query, the problem is that I can not get the data printed in the column on the next right; $connect = odbc_connect("proyecto", "usuario", "contrasena"); print ("Fecha de Inicio: $newD...
asked by 16.06.2017 / 16:18
2
answers

Help with the select in a combobox

I'm using a select to save data from a database, but when selecting several of select only saves me the last one selected from the combobox box and I want to logically save all the selected. This is the code I have <...
asked by 12.04.2017 / 21:27