Questions tagged as 'php'

1
answer

'$ _SESSION' in wpwngine

Good afternoon everyone, I have a project in Wordpress where variables session of PHP are used, the migration is being made to the server wpengine , but said server does not allow sessions PHP , I tried to use setcookie()...
asked by 03.05.2018 / 17:55
1
answer

Get the value of a php table

I am currently doing a php to make a login and redirect users, if the login matches and appears, then go to check if it is admin or not, for this, the query should return in the select the role, the doubt is, how do I get the role out and then c...
asked by 03.05.2018 / 09:13
1
answer

Error generating an excel report in php and msql with PHPExcel

I am using PHPExcel to generate Excel reports with PHP from data obtained from a MySQL database. This is the code I have and file shows this error:    Fatal error : 'break' not in the 'loop' or 'switch' context in    C: \ xampp \ htdocs...
asked by 03.05.2018 / 14:53
1
answer

PDO and Oracle query problem

I have a problem when making the query, it does not return anything. The query is correct since I have executed it in the sqldeveloper and it does not give me an error in the connection either. This is my code: test.php <!DOCTYPE html>...
asked by 07.04.2018 / 15:40
1
answer

Find a Node by the id in neo4j

I am working with neo4j, I need to make a query to recover a node by the id and can not find the node that I specify, if I filter for another property it does find it but if I specify the id it does not find it. If I go directly from the web and...
asked by 16.04.2018 / 18:27
1
answer

Hide forms in Laravel 5.5 only visually

I am doing a project in Laravel 5.5. I have the following form to edit a post: The idea is that the only forms that the user can see are the notes and the description. The rest of the other fields will already have a value in the database...
asked by 16.04.2018 / 03:06
1
answer

How to get the "name" and not the "id" in jQuery ..? From MYSQL

I am making an order form, I use jquery, in this case, after completing the form, I added a "check data" button in which I send all the data to another form with: var TratamientoOD = $('#TratamientoOD').val() var familiaOI = $('#familiaOI'...
asked by 20.08.2018 / 20:50
1
answer

Error Base table or view already exists: 1050 Table 'users' when migrating Laravel 5.5

I find an error when performing the migration in Laravel 5.5 This is the code of my migration file: <?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migratio...
asked by 18.08.2018 / 05:07
2
answers

Searching for a surname in a field with 2 surnames in Mysql

I have a table with 4 fields: No tuition , Last name , Names and State . > I want to do a search on the surname and if for example I search only those that are named Velez, I list the information of all those who are named Velez. I ha...
asked by 03.04.2018 / 20:14
3
answers

Duplicate records in mysql

the registration from an html form to my database is a success but now I find the problem that I have left pending because I can not solve to send a message that the registration already exists, try some things but not I find ... .php code to...
asked by 03.04.2018 / 18:07