Questions tagged as 'php'

3
answers

Store multiple checkboxes in a column with only PHP + MySQL

I am having difficulty storing multiple checkbox in the same field as the table. In this case, when filling out the form and marking more than one checkbox , it stores only the value of the last checkbox . Here are some sni...
asked by 24.08.2015 / 14:07
1
answer

XOOPS Strict Standards Error

XOOPS gave this error in script installed:    Strict Standards: Non-static method XoopsLogger :: instance () should not   be called statically in   /home/b81inudo/public_html/portal/include/common.php on line 109       Strict Standards: No...
asked by 07.11.2014 / 15:54
2
answers

Cell with dynamic height in FPDF

I want to create a report with fpdf, but every time I create a cell with some large text, it is over the cell below. Is there a way to create a cell that automatically resizes >     
asked by 05.11.2014 / 18:39
2
answers

Exporting data from php to xls from a link

I am making a link, which when the user clicks on it should generate an xls file. The link has the date-attributes and should pass these attributes to the page.php and generate the xls. I tried jquery and it is not working, does it have any othe...
asked by 22.07.2014 / 19:12
2
answers

Use URL rewriting as array in .htaccess

Is it possible to use the .htaccess rebrand and an undefined number of parameters in the URL? In my current .htaccess I set three types of parameters that can be passed in the URL (/ page / sub / id), however I would like to be able to pass a...
asked by 03.11.2014 / 20:39
2
answers

Capture data after the # character in the browser URL

I have the following URL http://urldosite.u/home#6 that when I step into a variable, it simply overrides everything after # . And I really want to get just what this after this and this character, in the example, the number 6 I have...
asked by 24.07.2014 / 19:29
2
answers

Ajax Date Return Behavior

My doubt is technical. I would like to understand better what happened. I spent a few days trying to solve a problem in my code. I found that the functions of ajax or php were wrong. Two PHP functions were very similar, b...
asked by 25.07.2014 / 22:28
2
answers

Generic Crud with PDO

The connection part is ready: <?php /* * O padrão Singleton */ abstract class Conexao { const USER = "root"; const PASS = ""; private static $instance = null; private static function conectar() { try { ##Tenta conectar ao banco...
asked by 02.09.2014 / 15:21
1
answer

How to use $ _GET to get content coming from a link that was sent to a user's email?

I've sent this link to a user's email: http://www.example.com/redefinir_senha.php?token=4kl_EIwmivsCg52TsBgWWgWMPsApjFTJL8oBUXPDoHE&uid=USER-ID On the redefine_password.php page I know how to do the following: $token= $_GET['token'];...
asked by 31.08.2014 / 18:06
2
answers

Problems in content on demand (infinite scroll)

I'm trying to make the content increase by checking the user scroll down, but my code stopped here .. <script> $(document).ready(function() { var limit = 5; var offset = 0; var altura = 1000; $.post( "artes4.php", { limit: limit, offset:...
asked by 06.09.2014 / 01:53