Questions tagged as 'php'

1
answer

Upload files with php and assign them to a specific ID of a table so that it can be downloaded later

I would like to add the option of uploading files to my system, but that these are connected or saved based on a record in the PROYECTO table, that when you open a certain project in a list you can download your digital file. that is:...
asked by 12.09.2016 / 00:54
1
answer

Difference between row and column in php

Hello many times I get confused because I create a table in phpMyAdmin and when I create a table I am creating columns. But nevertheless, other people create rows an example: -- phpMyAdmin SQL Dump -- version 3.5.1 -- http://www....
asked by 11.09.2016 / 11:32
1
answer

Fatal error when calling the exec function

Hello when the code exactly and should work gives me this error and I do not know why the error gives me in this part of the code: $users->exec($sql); Complete code: <?php require_once 'database.php'; $database_connection = databa...
asked by 11.09.2016 / 23:22
1
answer

Make a filter in php / mysql

For those who are not clear topic I share the index and the template of my page. What it does to me is paging. I want to add a filter to filter this page simply. Index.php: <?php require_once 'database.php'; $database_connection = database...
asked by 14.09.2016 / 12:50
1
answer

Condition values of a select to show students that make up a project and students who are not subscribed to a project

I have an option to enroll students to a project, previously there was the error that students or students who appeared in other projects could be enrolled several times, so change the sql query. this form shows the project and below it the s...
asked by 14.09.2016 / 00:11
2
answers

By putting the option-indexes directive in the htaccess. Can I see it?

I want the directory tree to be visible from the browser, my web.  That's why I'll create the htaccess with option-indexes.  My question is: I will see them when I want .. entering my cpanel right? thanks to those who answer !!     
asked by 19.05.2016 / 15:48
2
answers

Search engine with 2 fields filter ajax codeigniter 3?

I have a search engine that filters by a variable but I can not find the way to perform the search but I do it with 2 variables at the same time. This is my method that I use to filter by a single field "name_event" of the database "event", I...
asked by 19.05.2016 / 04:29
1
answer

Error "Class Blog \ Http \ Requests does not exist" in the request

Trying to make the user registration generates the error "Class Blog \ Http \ Requests does not exist" Here my UserController <?php namespace Blog\Http\Controllers; use Blog\Http\Requests; use Blog\Http\Requests\CrearUsuarioRequest...
asked by 27.09.2016 / 16:28
2
answers

Notifications do not reach the device

How about, I have a problem, I try to send notifications from php to ios, I already did all the steps and testing it with an APN Tester program if everything goes well, when I try to send from PHP I get it sent correctly but do not reach the iPh...
asked by 29.09.2016 / 21:41
1
answer

Error Slim Swift 2

I have a native iOS application, in which I must consume a web service where I send a photo in base 64 to the backend in php with slim framework but I return the following error on the code 64 of the image: recoverable error: Corrupt JPEG...
asked by 01.06.2016 / 20:23