I want to know how to correctly handle the error handling for a non-mandatory variable, since if it is not informed, a Fatal Error - Undefined Index is generated.
Context :
Through my system I register a publication (documents for...
Well, I'm having a problem with encode when posting data to a table mysql by php , my page is with encode utf-8 , my bank using latin1 , but I do not know how such a conversion, if I change the encode of the site...
I'm making a simple form to be submitted with jQuery Ajax.
Data is being sent, but you are updating the normal page.
I would like to know what I am doing wrong, because in submitting the form the page is being updated, but I would like this n...
Personal I have a PHP script that adds another 10 days to a date.
The script was working wonderfully well, however, a few days ago I started getting the following error:
PHP Fatal error: Uncaught Error: Call to a member function modify ()...
I wanted to prohibit the user from registering two identical users, type two equal emails or enrollment, but is still being registered data already exists, After I press register and send the data to the bank appears this error:
Notice: Un...
I need to create a blog without using wordpres or any other ready structure, what language I can use and what is the fastest way to do it, the blog has a form that will save e-mail , nome completo and ip da pessoa , I already...
I made this Singleton pattern that I saw on a site and found it great, well what I wanted.
However something is going wrong because I have the error:
Fatal error: Uncaught Error: Using $this when not in object context in /opt/lampp/htdocs/mysc...
I have a column in the database with the name of codigo , in which the formatting looks like this:
18000001
Where 18 means the year we are and 1 is the code for each result. Knowing that this code can be greater than 1 I type 1...
I am trying to search for a term in 4 different tables in MySQL, using like , but I need to retrieve the id of each one and identify which table came to do the listing and direct with link.
This is a search system where the result...