I am changing the fields to save date in MySQL, from varchar to date , and I was in doubt about the correct way to include date fields in the database using prepared statments .
As I use DD / MM / YYYY during the script to...
I've been trying to send parameters from actionscript to php , I've checked the following page:
Send variables using POST
I made it right, but at the moment it runs navigateToURL(urlRequest, '_self'); , it always sho...
How can I make the code below stay in a single function , as I'm having some difficulty.
<?php
// Procura por um valor especifico para aplicar valor verdadeiro ou falso
function encontrarValor($urlgeral, $nomeserver){
if (preg_ma...
My table in mysql has UTF-8 formatting and all accents appear correctly, but when I make the request with PHP and display the data they do not appear in UTF-8 format.
p.s: My page already has the goal for utf-8.
Do you know what might be c...
I would like to know in PHP how I can find out which is the parent file, in an inclusion, through the child file.
Example:
avo.php
pai.php
hijo.php
In the avo.php file I have:
include_once 'pai.php';
And in the file...
Personal I have the following JSON:
"results": {
"collection1": [
{
"prod": {
"text": "COLCHÃO NAUTIKA KING SIZE"
I have a search form:
<form id="search" method="POST">
<input type="text" name="search" />...
I'm trying to remove the backslashes to open the URL of the image, I found a way to override, but part of my string was lost:
function formatURL( $url )
{
echo $url."<br />";
$url = str_replace('\', '/', $url);
echo $ur...
I created a frame on the intranet through WordPress (php, MySQL) to list the extensions of company employees. Clicking the link of extensions displays a table and the scroll bar for viewing the list. I need to create a search field (field cr...
I'm having trouble checking for something inside the session.
The functions I am using are:
Function to check if someone is logged in
if(usuarioestalogado()){?>
<p class="alert-success">Você está logado como: <?= usuariologado()...
For the first time I'm working on converting an HTML template to WordPress. I have some difficulties and the one that is bothering me the most is the following:
I have an HTML menu and would like to convert it to WordPress, keeping the dropdown...