I am new user in Ubuntu , and I am not able to install PHP-5 via apt-get, since the stable version is PHP-7 , I get an error saying that no packages were found.
I tried to use the following commands
sudo apt-get install php
sudo apt-get i...
Via PDO , I can do the TRUNCATE (English) of a table as follows:
// Matriz de definições
$dbcon_new = array(
"host" => "localhost",
"dbname" => "bubu",
"username" => "super_dragon",
"password" =>...
I recently got into a discussion with coworkers about the more compact functionality of the terabyte (x?: 10) and some of them said that it would be removed in php 7. I did a web search and found nothing related to that.
Is there any informat...
I have an application in Delphi that sends an XML with a code via Post . I have to develop an application in Symfony that needs to validate the receipt of this XML via post. Listening to say it would be via Rest but I've never used Rest.
I w...
In my pages PHP I use a include to call a file that contains my menu:
<?php include("menu.php"); ?>
Menu file:
<li class="current-menu-item"><a href="#">Hosting</a>
<ul>
<li><a href=...
Good morning guys, I'm having a question about date manipulation. I need to get a value (given by the user) and turn this value into day of the month.
Example:
$Valor_Usuario = 30;
$Data = 12/10/2018;
$Resultado = 30/10/2018;
What I'm...
Hello, I'm trying to use zftools (terminal) to create modules for Zend but unlike expected it would be an error message or success zf.php prints on the screen the HTML of the application, as if I were in the browser .
Commands used:
comp...
I'm using collation latin1 in the bank columns and iso-8859-1 in the pages, while it was in PHP5 it worked normal, but when migrating to PHP7 the accents started to give problems appearing this � instead of each accent.
Has PHP7 ch...
I am trying to run the code of an API that is in the address below. It's been 3 days since I've been on this code and I have not made any progress. Already tried to create everything again and nothing to work.
link
I created a project in...