I can not handle an exception that happens when I delete an address that is being used in another table. I'm using codeigniter
My code is:
public function delete_endereco($cod_clientes_endereco){
try{
$acao = $this->db->de...
I need to pass these values from a json file to a java class, the Json file is of this type:
{
"id":1,
"name":"Gold",
"description":"Shiny!",
"spriteId":1,
"consumable":true,
"effectsId":[1]...
I would like to know how to generate a time series of a file that has two columns (date and value), however the date is in the following yyyy-MM-dd format.
When I use the ts () command, it replaces the date value with a number, for example: t...
Is there any way I can leave a given image, through CSS, with a lower quality, to increase page load speed?
Example: First load a certain image with the lowest quality, then increase its quality when the user moves the mouse?
In Software Engineering, much is heard about the term Software Artifact. I researched it and found the following definition:
An artifact or artifact is one of several types of by-products
produced during software development. Some
arti...
Using WebSockets for my project, in the end was an extensive project with thousands of lines of code in PHP.
As soon as I finished typing everything and "finished" they told me that running WebSockets with PHP is unfeasible for large-scale us...
I'm having trouble downloading the profile photo. When I add this line, initializing the id:
userIds2 = profile.getId();
Class
public class MainFragment extends android.support.v4.app.Fragment {
private Database databaseHelper;
private A...
Hello, I have a small problem creating a database.
My goal is to create a table to mark the attendance of people in the classes of the courses in which they are enrolled.
The 'presecas' table should contain the id of the person, the course...
The get_declared_classes function ALL classes defined in PHP, both from the internal PHP library and the user's library.
I wanted a function for classes of type: get_defined_functions , which separates PHP core functions of...