Posts by José Júnior • 27 points
12 posts
-
0
votes0
answers13
viewsQ: mysqli_query() expects at least 2 Parameters, 1 Given in - PHP error
I’m making a change in php, however, an error is appearing Warning: mysqli_query() expects at least 2 parameters, 1 given in /home/canaljog/public_html/home/pages/principal.php on line 21 Connection…
-
0
votes1
answer46
viewsQ: Index versus Index, Follow
Answer me one question. What is the difference between <meta name="robots" content="index, follow"> and <meta name="robots" content="index"> It’s the same thing ?…
-
0
votes1
answer18
viewsQ: Take data from an rss
Very good morning everyone!. Personal I made this script, however, in the new version of PHP it is not working. You know how I can make this code in the new version ? <?php // Mostrar Data na…
phpasked José Júnior 27 -
1
votes0
answers120
viewsQ: Page with login and password
I created a very simple login and password system, but when I play them for the FTP, with the password and login that I inform, do not enter, stay on the login page. <?php // Definimos o nome de…
phpasked José Júnior 27 -
0
votes1
answer1026
viewsQ: PHP Form with Attachment
Good night guys, I’m having a question. I created an application form and in this form the person should send the proof of payment, however, instead of sending as an attachment in my email, it comes…
phpasked José Júnior 27 -
0
votes0
answers96
viewsQ: Doubt Select / PHP
I’m making a select in this way. $stmt = $lokos->prepare("select CODIGO_PROGRAMA, VERSAO_PROGRAMA, DATA_INSERCAO, DESCRICAO_ALTERACAO from programas_padrao Order by DESCRICAO_ALTERACAO DESC");…
-
1
votes1
answer308
viewsA: INSERT INTO via form Error
The error was that there was a "R" missing in the program name. Correct code: $sql = "INSERT INTO geral (nomedoprograma, versaodoprograma, datadoprograma, comentarios) VALUES ('$programa',…
phpanswered José Júnior 27 -
-1
votes1
answer308
viewsQ: INSERT INTO via form Error
I’m trying to insert data via form in PHP. However, I’m having an error, I can’t find this error at all. As I said, I’m wanting to enter data, via the SELECT INTO Observe: insert.php, this is the…
phpasked José Júnior 27 -
0
votes1
answer203
viewsQ: View image from another site
Good afternoon! , I am using a php code to display news from a site, it turns out that I am also trying to display the image that has in it, however, I am not getting, the title and date of posting…
phpasked José Júnior 27 -
0
votes0
answers216
viewsQ: Error logging in administrative panel - Session_start
Hello, Guys I’m having a Session start error in which the same guy not logged in is able to access the panel Warning: session_start(): Cannot send session cache limiter - headers already sent…
phpasked José Júnior 27 -
-1
votes1
answer61
viewsQ: Chat does not appear
Good evening, everyone, and then good to you ? Guys I created a very simple code, IF enabled, display the chat , if disabled, display the error message, if the chat is enabled it must display the…
-
0
votes1
answer429
viewsQ: Parse error: syntax error, Unexpected end of file
I have an error running a PHP code ( ! ) Parse error: syntax error, Unexpected end of file in C: wamp64 www site successemail.php on line 35 The code is this <?php mysqli_connect("localhost",…
phpasked José Júnior 27