My table is constituted as follows:
╔════════════════════════╗
║ USER ║
╠═══════════╦════════════╣
║ Id ║ Integer ║
║ Name ║ String ║
║ Address ║ String ║
╚═══════════╩════════════╝
I have some dat...
I made a cpf and email address. I've already put it to validate cpf and such, and I can send the email to the user who put the email there, but I need the registration to be done only if the email actually exists. In the case, would I have to do...
With this code I can block special characters in my input , however I want it to still accept . , - and _ how to proceed?
elseif (!preg_match('/^[a-z A-Z0-9]+$/', $username)) {
echo json_encode(array(
'log...
Good morning.
I have a small problem that I can not solve.
The situation is as follows:
I have 2 selects (state and city), I would like when selecting a state the system would search my DB to find distributors of that state and when selecting th...
Good afternoon Friends
I have an input with the name of MARGIN, where a value is displayed according to some calculations that are made ... I need the input to change the color to red if this value is less than 25, if it is bigger it maintain...
I'm trying to get the while values to stop but it just does not go into while, I'm starting programming so try to help in a simple way
Purpose of code: Get 0 of a 1 degree function dynamically ...
<?php
print("Qual é o expoente de sua...
I have a form that sends tans to my database when I click the button.
What can I do to disable the button after clicking? I do not want the button to be triggered more than once.
I am using mPDF and it is only generating the reports correctly in FireFox or opening by IE. If I try to open the file with PDF reader it returns the error when loading PDF document.
<?php
include("../crud/_views/plugins/mpdf60/mpdf.php")...
Good afternoon, I'm trying to access my database to get the 12 countries present in the table and return an array with the id and name of the 12 countries but my code is only returning 1 position in the array that is the first country only Anyone...