Questions tagged as 'php'

1
answer

I can not print the value of a $ _Session with an echo

I have a login authentication system that is this: <?php if(isset($_POST['txtpass'])) { session_start(); //variable de conexion: recibe dirección del host , usuario, contraseña y el nombre base de datos $mysqli = new mysqli("lo...
asked by 22.03.2018 / 11:24
1
answer

Why do not you save the data from a wysiwyg editor?

At the moment of saving the data of the editor in the database, it keeps me with some symbols and not with the label. Why is this? Thanks for your comments     
asked by 26.03.2018 / 18:41
2
answers

how to get correct current time with php?

I am reading the current time with date("H:i:s"); and it goes ahead one hour, I searched and I put the html date_default_timezone_set('America/Caracas'); but when you apply that, it goes back half an hour to the actual...
asked by 24.03.2018 / 18:58
1
answer

Laravel empty and white page

I have a page in Laravel and the view by id was working but now I only get a blank page and it stops showing the title of the page and only says localhost: 8000 Why is this happening? This is the page that gives you click to appear by id:...
asked by 23.03.2018 / 08:18
2
answers

Problems not showing the first three notes highlighted with Query in wordpress

I'm doing this site web where I have three outstanding notes and below the rest of the notes uploaded, which I would like to do is that in those below I do not show the ones that are already up, that I do not repeat them. The problem is that I...
asked by 27.03.2018 / 16:24
2
answers

Error inserting records with PDO in php

Well I have the following error, that when I try to register data in the database I get the following error    Error: SQLSTATE [42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresp...
asked by 08.04.2018 / 06:19
2
answers

How do I show the records in a table?

         Untitled document  Hello, I am very new to php and my teacher has asked us to do a CRUD I have managed to show the records in the database. but, he has asked me to show them in a table and I have no idea how to do it, try to do it...
asked by 05.04.2018 / 00:36
2
answers

PHP login with BD, ajax asynchronous connections in js

First of all explain that I am new in this world and try to learn based on trial and error ... to start, I am creating a login against my database using asynchronous connections with ajax where you can access through different users created by a...
asked by 05.04.2018 / 01:32
1
answer

because php sends duplicate records to phpMyadmin

I have a chat with Flash AS3 i php and I have a Hostinger bd The chat works fine but sends or receives duplicate records by pressing the Send button. That is, when I press the send button as you can see in the image, two different id...
asked by 15.05.2018 / 11:13
1
answer

Differentiate PHP sessions between systems

I have encountered the following problem. 2 systems mounted with PHP and access management through the creation of sessions at the time of login. At the time of entering one of the systems, I automatically also enabled the entry to the oth...
asked by 14.05.2018 / 18:45