Questions tagged as 'php'

2
answers

Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or ...?

I'm doing a school work that is just to check ratings I'm doing in php and I already have the login but when I click on my menu to show me my qualifications send me the following error I'm using Xampp I leave my code I guess my error is in the...
asked by 08.08.2017 / 21:13
1
answer

Error in Jquery DataTable "Requested unknown parameter '0' for row 0, column 0."

Good people, I have been presented with this error and I have not been able to solve it, I hope you can help me: This is my PHP code in which I get my DB records      include ("conexion.php"); $query = "SELECT * FROM ciclos;"; $resultado =...
asked by 09.08.2017 / 15:51
1
answer

Problem with datatable search

I am currently using the datatables plugin to dynamically list data from tables I have made for a system I am working on. Currently I have read enough of the plugin and I have not had many problems to use it, but today I have found a big prob...
asked by 10.08.2017 / 14:29
1
answer

Problem when displaying data

I have this script at the moment of executing it shows me error Tables: Controller $menu=DB::table('menu') ->select('menu','url','id_menu')->get(); $submenu=DB::table('sub_menu')->join('menu','...
asked by 09.08.2017 / 21:14
1
answer

What are external & internal calls in HTML / PHP?

I'm following some concepts about structured web design fundamentals. Throughout the script I found the following phrase "external calls" & "internal calls". This phrase is traumatizing me, I have been making so many links that at the...
asked by 12.08.2017 / 16:32
2
answers

The data in form is not registered

Hello, I have a small user registration code but you are not inserting the data into my database: conexion.php <?php $con = new mysqli('localhost','root','','coco'); ?> formulario.php <!DOCTYPE html> <html> &l...
asked by 11.08.2017 / 20:50
1
answer

How to return to the previous page after uploading a photo (without losing the data)

I am complicating myself with something that I think will be simple but my inexperience makes me bogged down. I have a page where I upload a news, it is very simple, so simple that I can upload a single photo. <form action="subir.php" m...
asked by 12.08.2017 / 17:15
1
answer

How do I make these php variables appear with single quotes? [duplicate]

I'm trying to make these php instructions with embedded html appear with single quotes. This is the code: echo '<li aria-expanded = "true" id = "'.$caption.' "onClick ="toggle(submenu'.''.$contador_submenus.', '.$caption.') "&...
asked by 11.09.2017 / 10:51
1
answer

Increase the session time in shared hosting

As they are friends, it happened to someone else that the lifetime of the variable $ _SESSION does not last long enough and when you reload the page again asks the user to log in, someone knows how to increase the time of life. I tried my PHP co...
asked by 09.09.2017 / 17:09
1
answer

Differences between Form :: model and Form :: open?

Good afternoon, I am learning laravel and when using the laravel collecitve library, when creating forms, I see that sometimes the form opens with Form::model and others with Form::open . As much as I look for I can not find the dif...
asked by 11.09.2017 / 18:39