Questions tagged as 'php'

3
answers

get latest registration in MySQL

I have a database in MySQL and each table has its primary key that was inserted using the following structure: "INSERT INTO TABLA VALUES (UUID(),CAMPO1,CAMPO2)" , until then everything is perfect. My question is this, how can I get the...
asked by 13.11.2018 / 15:39
2
answers

Problem with Recursive Ajax

I have an ajax function which is recursive, which means that it returns me an answer and if it returns a code I'll call it back to itself sending the code it gave me back, and so on until I return it in the code the value of -1, there ends the r...
asked by 29.04.2016 / 17:21
1
answer

Stored procedure does not run completely when I call it from PHP

I'm having a very serious problem because it does not let me continue with the project I'm developing. The logic is as follows, I upload a file of Excel to the server (from a web system) then I read the data that is in the file of E...
asked by 22.04.2016 / 16:11
1
answer

PHP does not return all the results of a query to Oracle when there are many records

I'm making queries from PHP to an Oracle database. The problem is that when the database has few records (5 for example), when I go through the oci_fetch_array function, it returns them without problem, but when it is 100 records it returns...
asked by 21.07.2017 / 12:24
5
answers

Notice: Undefined index: PHP

I'm running a code in PHP and it works totally! It complies with what I ask, but it throws me the following error:    Notice: Undefined index: name in C: \ xampp \ htdocs \ project \ profile.php   online 12 What I did was a profile of a l...
asked by 03.02.2018 / 03:06
1
answer

how to get the id of a row in CgridView

Good evening I am trying to capture the id of a row from a CgridView with a pop-up window, and place it in a text box from where it is being called but it brings me value undefined in yiiframework I hope you can help me, I leave you the u...
asked by 11.07.2017 / 04:37
3
answers

Send double and single quotes within a variable

I need to put in a variable content that has double quotes, single quotes, /, ... several characters, is there a way to put all the code within a single variable? there is not something like this $ variable < < < "" '' / \ > >...
asked by 15.11.2016 / 22:55
4
answers

How to do it in MySql?

You see, this time I do not have a code, nor do I want to be given a code, but simply the idea. I have a system of posts to which I want to add a button to give points (to the selected post). Good. But how do I make those same points that...
asked by 25.10.2016 / 00:30
3
answers

SELECT does not work

Good afternoon, I am trying to take the values of a field in a table with the clause where of a $ _POST that I bring from another page. The variable in question is id_stud that I bring it to me by POST perfectly ... in fact when I save it in the...
asked by 06.07.2017 / 15:32
1
answer

Error sending Mail Cakephp 3.x

How are you ?, maybe someone around here had the same problem when sending an email configuring an email account created in hostgator for which I have the following in my application 'EmailTransport' => [ 'default' => [ 'clas...
asked by 25.09.2016 / 00:46