Questions tagged as 'php'

1
answer

repeating content informed by .html ()

I inform JQUERY the link to open a video in a modal <video width="100%" height="400" id="vid_video" controls="controls" style="padding: 0 10px 0 10px"> <!-- AQUI DENTRO VAI O <source></source> vindo do JQUERY --> </v...
asked by 22.08.2018 / 18:50
2
answers

PHP SQL Inner Join - Show name instead of ID number

I'm having a little difficulty regarding query INNER JOIN. I have a table called users and it contains the following fields: First Name Last Name Tipo_fk (Foreing Key) Categoria_fk (Foreing Key) As shown above, the HTML select function work...
asked by 31.08.2018 / 05:19
1
answer

Problem with autocomplete

Good evening, I'm trying to auto-complete an input via query in mysql database, but I'm having problems. I did all the code following a tutorial and even then it will not, nor will any errors appear to me. When I type, there are no options to co...
asked by 13.09.2018 / 01:34
2
answers

What is the equivalent of 'isset' of PHP in Python [duplicate]

In PHP, if I want to know if a variable was started, I use isset . How can I do the same in Python?     
asked by 18.06.2018 / 08:41
2
answers

Error in Laravel 5.0

I have a connection problem in Laravel when executing a query: PDOException in Connector.php line 47: SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) File database.php: 'mysql' => [ 'dr...
asked by 10.01.2018 / 14:05
1
answer

P closing before the / P tag

I have the following code to generate an owl carousel inside a div of the site I'm developing, but I'll see in the html the <p> tag closes before the carousel div, leaving the layout totally wrong. Below is the code that is present...
asked by 01.01.2018 / 18:04
2
answers

Hover - css does not work

I'm doing something stupid but I do not know which one. I'm basically trying to create some classes in css, but it's not working as expected td.ok { height:26px; padding-left:4px; padding-right:2px; font-family:Verdana, Geneva, sans-serif;...
asked by 09.01.2018 / 18:25
2
answers

PHP How to generate a unique ID equal to that of the GOOGLE shortcuts

goo.gl/A4hI  How can I be generating an equal ID of this google and verify if it already exists, if it happens generate another. PHP     
asked by 31.12.2017 / 18:04
2
answers

PHP variable problem with peliculas [duplicate]

I'm bringing this variable from the mysql database into a text input, but the result I'm not able to show because of the peliculas. $cota = '946.9"1968/1975" AMA Ant'; echo '<input type="text" value="'.$cota.'" />'; result: 946.9...
asked by 23.02.2018 / 13:23
3
answers

Load HTML from another HTML [duplicate]

I would like to ask for help loading in my main HTML file external files from 2 other HTML pages Below is the nav <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <ti...
asked by 31.01.2018 / 06:30