I see in several sites of MuOnline, as in others, I see people use instead of <? SERVER_NAME; ?> they use {#SERVER_NAME} , without opening PHP tags.
Instead of using <? include("menuLeft.php"); ?> they use {...
I'm having problems with bindParam, could anyone help me?
I have a code for user registration in the bank ...
<?php
require_once 'init.php';
// Pega os dados do formulario
$nome = isset($_POST['nome']) ? $_POST['nome'] : null;
$nascime...
Suppose I have the following file structure in the root of my site:
index.php
autoload.php
----| /Models
--------| /MainModel
------------| MainModel.php
----| /Controllers
--------| /MainController
------------| MainController.php
Suppos...
For example, I have a certain div, but I want it to appear only from 6 p.m. to 00 p.m. every day, but I have no idea how to do it.
<div class="conteudo">
<h1>aqui vai o conteudo da div</h1>
</div>
I want...
You're giving this error:
Parse error: syntax error, unexpected 'if' (T_IF) in C: \ Program Files \ EasyPHP-Devserver-17 \ eds-www \ Hugg \ sys \ historico.php on line 3
I've been looking for the solution for some time but I can not fi...
I'm looking for ways to get the server CPU load, previously used scripts where there was the exec() function that on this other server has the function disabled by security.
Would there be another way to do this?
When I submit the form the input does not return the value of checkbox and says $_POST['newsconf'] does not exist.
HTML
<input type="checkbox" id="newsconf" name="newsconf" value="1"/>
<label for="newsconf">...
I do not have much experience with javascript and I have no idea how to get the result of this script and move to a <input text> field.
This script calculates the distance and time between two points. So I wanted to take the time an...
I have a table with the following fields: Nome(VARCHAR) , Email(VARCHAR) , Credito(INT)
I wanted to know how, or with what command, to decrease or increase the Credito field.
I know you have to use UPDATE b...
How can I get the amount of online users on my site (instantly) using only PHP MYSQL and JQUERY? and respectively get the time the user spent on my site