Questions tagged as 'php'

1
answer

Problems with Login in php

Well, I am trying to make a login for a page which when validating the user redirects to a new page, the problem is that when I enter the data to enter, which I am completely sure exists in the database, always The answer is that the data is inc...
asked by 17.01.2018 / 20:05
1
answer

PHP DOM wrap blockquote between iframe tags

could you help me I have this html code: <div class="media_embed"> <blockquote class="twitter-video" data-lang="es" height="" width=""> <p dir="ltr" lang="es">"Mi cabeza está en REGRESAR a jugar y TRIUNFAR”<br...
asked by 20.01.2018 / 00:10
2
answers

pass an id value by a URL of a button

Hi, I would like to know how to pass the value of the id = information by the URL of the input type="submit" the code is as follows: <div id="informacion">0</div> <form id="form1" name="form1" method="post" action...
asked by 18.01.2018 / 03:28
1
answer

How to delay data extraction using Curl php

Good evening friends today I was raised a question I'm using Curl to extract some data from a website in this way. <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); $url = 'https://ycapi.org/...
asked by 19.01.2018 / 01:34
2
answers

Mysql query from URL

Basically what I want to do is a query to MySQL with PHP and bring the results of the row specified in the URL. For example, my URL is this: link Then the query brings the results of the row that contains that nick (the nickname is unique, i...
asked by 18.01.2018 / 17:18
1
answer

Get data from ajax

I'm trying to get data through ajax and php. What I'm trying to do is have a list of several ids and that ajax shows them to me dynamically. My client wants to see a list of messages by clicking on each one, something like the icloud inbox. J...
asked by 07.01.2018 / 04:34
3
answers

Create a website with related search [closed]

Good morning, everyone. I want to know what I would need to create a website that stores the current and updated prices of different known web pages. I'm doing a project and I need help.     
asked by 03.02.2018 / 10:15
2
answers

Display a user's name in their profile. PHP

Good morning, have all of you! I'm making a user platform and I'm in the profile phase, I've already logged in (which, you enter by registered mail), registration, use of cookies, password forgotten, etc ... Now, my PHP code for the profil...
asked by 02.02.2018 / 14:38
1
answer

Help with email validation Ajax + php

I have the following code; function checkemail() { var email=document.getElementById( "emailReg" ).value; if(email) { $.ajax({ type: 'post', url: 'check_email.php', data: { user_email:email, }, success: function (response) {...
asked by 04.02.2018 / 02:13
1
answer

How to compare different arrays of the $ _session

I'm trying to make a comparison after session_start(); What I was thinking and trying to do is: <?php session_start(); if($_SESSION['id_usuario']=NULL) { $_SESSION['id_nivel']=3; if($_SESSION['id_usuario']=...
asked by 02.02.2018 / 16:33