Questions tagged as 'php'

1
answer

how can I select what I have in my database in this php file?

good! my problem is that I want to put a select of 2 tables but it does not leave my PHP file. this is the code <?php include('conexion.php'); $paginaActual = $_POST['partida']; $nroProductos = mysql_num_rows(mysql_query("SELECT * FROM tip...
asked by 29.03.2017 / 19:13
1
answer

When calling the logo that we personalize in wordpress, I do not apply style

I'm getting a template with materializecss, the problem comes when I decide to make the dynamic theme logo so that it can be changed from the same wordpress. Ok, the problem is that if I now want to put an id with the styles in the image or the...
asked by 09.05.2017 / 01:14
1
answer

Error "No Kerberos credentials available" when passing mail server lotus to exchange

I have a website that connects to the mail server by imap to download the messages and automatically process the work depending on the subject, but after changing from lotus to exchange it stopped working with this message in the error lo...
asked by 09.05.2017 / 12:47
1
answer

How to generate a table with rowspan and colspan in php

My question is how to add the colspan and rowspan html attributes to php since I am making an html table in php because I need to download it as a .doc file but it generates an error here: <?php header("Content-type:application/vnd.ms-word...
asked by 31.05.2017 / 17:13
1
answer

Problems with friendly URLs

In the code from PHP, in the links I am doing the following: <h1><a href='noticias/" . str_replace(" ","-",$articulos[$i]['titulo']) . "'>" . $articulos[$i]['titulo'] . "</a></h1> Which originates a URL for example...
asked by 31.05.2017 / 00:02
1
answer

PHP Show data mysql [closed]

I would like to know why I get an error.    Parse error: syntax error, unexpected '[', expecting '(' in   C: \ xampp \ htdocs \ Load \ php \ valdad.php on line 2 <?php $username=&_POST['username']; $password=$_POST['password'];...
asked by 31.05.2017 / 16:39
1
answer

Error "Fatal error exception, syntax error unspected 'if' (T_IF)" when executing a PHP [closed]

When I run my code I get a syntax error on line 19, that is, where is the error if it says:    Fatal error exception, syntax error unspected 'if' (T_IF) This is the code: <?php namespace App\Http\Controllers; use App\Post; use Illum...
asked by 31.05.2017 / 07:33
3
answers

warning mysqli_select_db () expects parameter 1 to be mysqli

I am doing a school platform, where I need to connect my database with my web page. However, this warning appears when I run it:    Warning: mysqli_select_db () expects parameter 1 to be mysqli, string   given in C: \ xampp \ htdocs \ Sor J...
asked by 27.03.2017 / 20:06
3
answers

Bring checkeado from dynamic radio button database?

I have this radio button that fills up from the database dianamically, In what way could your database be checked from the database for editing? , I would be served either in jquery or php greetings thank you! <div class="inline-group"&g...
asked by 28.03.2017 / 02:03
1
answer

Extract and save data from several related tables in Laravel

I am developing an enrollment form in Laravel 5.4 , as I have created five tables that have a one-to-many relationship: The main table tblFicha has a one to many relationship with the tables: tblDiocesis , tblRegionales -...
asked by 12.03.2017 / 21:49