Example, I have:
$matriz = array("Tomate", "Morango", "Melancia");
I would have:
(
[0] => Tomate
[1] => Morango
[2] => Melancia
)
But if I do:
unset($matriz[0]);
I'll have:
(
[1] => Morango...
I have the secretaries table with the following structure:
Andtheworkertablewiththefollowingstructure: Ilinkedtheworkertabletothesecretariestablethroughthefollowingrelation:
That is, I'm relating the Foreign key to the 'worker' table's pri...
I'm doing a project at the Federal Institute of Triangulo Mineiro, about a student control system made in php, so I'm starting a test phase using PHPUnit and I have my doubts because I'm not experienced with this tool. I'm not able to install an...
It has a view that repeats itself in all the others through a
$this->load->view('menu');
would I have a way to load the dynamic menu query in all other views with the above line?
If I do this on all controllers, of course it's true:...
I came up with a module of the PHP OOP handout on Handling Exceptions , I practiced the exercises and such, but I'm still not quite sure when to use them, and why. I ran a search and found this:
link
and this
link
T...
I know you've asked before and you have several answers on the internet but none have solved my problem.
I have a whole site in php, with several pages and would like to make url friendly to their variables.
I wanted, for example, to let index...
I have a code in php that does a return of data in JSON.
When it has only one value it returns as it should:
["[email protected]"]
When more than one value is found it returns as follows:
[ "[email protected]", "ezekielEBurt@d...
When returning the values in the combobox, it is returning as undefined:
include 'relacao-cidades.php';
And just below the combobox that I want to load the states according to the selected city:
<select name="Estados" id="CmbCidade" c...
Next I'm building a website that needs to show posts with wordpress, however I'm using the Skeleton grid framework, it works as follows:
<div class="container">
<div class="row">
<div class="three columns"></div...