I have this:
$categoria_1[0] = array(
'code' => 'ALI000001',
'name' => 'Alimento > Arroz
);
$categoria_2[0] = array(
'code' => 'ALI000002',
'name' => 'Alimento > Massas
);
You have to leave it like this:...
In front of the structure below:
class View
class Controller
new View ()
class controllerUser extends Controller
public $ user;
as $usuario access from View?
I am making a parser with simple_html_dom.php where I pull all the links of a certain page. I can pull the links and assign to an array, then the problem comes up:
This page has a maximum display limit of 36 items per page.
items i...
I'm creating a page that works like this:
The person accesses a registration page, and within this page there is a iframe with the registration form. When a person clicks on iframe on sign up he redirects to another pag...
You can get HTTP status in versions prior to PHP 5.4 ( http_status_code is only supported in PHP5.4 +)?
I'm creating a custom error page system, it's not going to be a system for a specific project, but as a matter of compatibility...
Let's say I have button value="+1" on my page, and every time I click on this button an update is made to the database, the page refreshes and displays a message of success or error. This update process is simple! Only when returning from...
I have a function in PHP that interacts with my SQL Server. It looks like this:
public function buscaRelatorioHospedagem($nome,$de,$ate){ // TODO Essa função pode ser aproveitada pra aba nova
$de--;
$de++;
$ate--;
$ate++;...