Posts by IvanFloripa • 637 points
18 posts
-
0
votes2
answers262
viewsQ: Inserting multiple templates in a Yii2 form
Hello Everyone I am starting in yii2, and I have a question I am making a form in which I insert two different models in a single form, but I am not able to perform create: Follow the code I made:…
-
2
votes1
answer504
viewsQ: Calculation of Time Estimate
I am making a calculator for calculating Time for any distance on my site, but my question is in the execution algorithm. The formula is as follows:: tempo previsto = tempo real x distância prevista…
algorithmasked IvanFloripa 637 -
1
votes1
answer1940
viewsQ: Update with select concatenated between two columns of the same mysql table
I am trying to run a query in which I will concatenate two columns of mysql name and surname, and update this concatenation to the full name variable in all table records. Follows the code: UPDATE…
mysqlasked IvanFloripa 637 -
2
votes3
answers278
viewsQ: How to fire a message every click in jquery?
I have a`form`to calculate the IMC index, and every click on a button displays a div message with the result of the calculation, but I want the message to be displayed a only time per click. This…
-
0
votes1
answer49
viewsQ: Action update widget dynamicform not saved in Yii 2.0 database
Hello Folks I can a registration form, which has a main table po, and a secondary table po_item to save multiple records, but in the update action the form does not back the records of the database…
-
0
votes1
answer491
viewsQ: How to create access restriction for an action in yii2.0
I need the client user to just view the posts records of my system. I would like to know how to restrict the actions on the screen for the client user, so that this user can only view the records,…
-
0
votes1
answer95
viewsQ: Inserting a navigation alert in Phonegap
Hello guys I’m new to phonegap, and for this reason I still have some basic questions. I am writing an example code to appear an alert in the application, but at the moment I will compile the…
-
1
votes0
answers50
viewsQ: Insert Background via URL into BIRT REPORT
i am doing a report on BIRT REPORT and need the background of my report to be a dynamic watermark via URL, someone can help me?
-
0
votes3
answers2044
viewsQ: Problems with session_start()
I’m having trouble with my PHP code for the User Login. This code is working on local machine, however I went up in my instance Amazon and the moment I log in the server does not authenticate the…
-
0
votes3
answers136
viewsA: Saving Selected HTML PHP
The code went like this: <?php header("content-type: text/html; charset=utf-8"); $cursos = array('JAVA','PHP','Python'); $select_curso=$cursos; ?> <html> <select value="teste">…
-
0
votes3
answers136
viewsQ: Saving Selected HTML PHP
I have a code from a select field and I need it to be dynamically in an array the option selected by the user. Every time the user starts the page the selected option appears. Follows the code:…
-
13
votes5
answers16703
viewsQ: Fill left zeros in Javascript
I need to insert zeros left into a field input text. Whereas this field might even be 5 characters + one check digit That is, I need Javascript to fill in zeros to the left according to what the…
-
0
votes1
answer623
viewsQ: Check alphanumeric characters in field
I have a validation problem in a text field. I need the field does not allow ALPHANUMERIC characters, this validation has to be done obligatorily with jquery.…
-
23
votes3
answers59486
viewsQ: How to compare dates in PHP?
I would like to know which function I use to compare two dates and return to larger. I have a form for HR registration in which the user will register their professional experiences and the date of…
-
1
votes1
answer881
viewsQ: Accentuation in pdf for HTML2PDF library
I am generating a PDF only that I need the library to allow the use of accentuation ? Does anyone have an idea of how to do this in HTML2PDF? Grateful.
-
1
votes0
answers57
viewsQ: How to insert database query data into an html page
I need to insert a database query data into an html page. The moment the user presses the PDF button, the data entered by the user will be captured in a contract in html format. Someone has a…
-
5
votes1
answer6107
viewsQ: How to generate a PDF contract using PHP directly?
I need to generate a contract, which will come from an HTML form, whose data will be processed by a PHP. I need that the moment the user clicks the button GerarPDF the data entered by the user…
-
0
votes1
answer2279
viewsQ: Form PHP validation in Contact Form 7
I am building a form in Wordpress and need to validate banking data, CPF, Bank Number, Agency among others, and use the plugin Contact Form 7. My question is how to validate by PHP the fields typed…